From dba290a22bd8d3ea97fc9230784c4643021c78e3 Mon Sep 17 00:00:00 2001 From: David Vazquez Date: Sat, 26 Sep 2015 11:13:53 +0200 Subject: [PATCH] Use eq to compare symbols The equalp function is defined in the 'cl' library, which is not loaded by default. So I was getting the error error in process sentinel: not: Symbol's function definition is void: equalp I replaced it with eq as it is comparing symbols --- puml-mode.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/puml-mode.el b/puml-mode.el index 4c75bdb..286662f 100644 --- a/puml-mode.el +++ b/puml-mode.el @@ -126,8 +126,7 @@ (defun puml-is-image-output-p () "Return true if the diagram output format is an image, false if it's text based." - (not (equalp 'utxt - (puml-output-type)))) + (not (eq 'utxt (puml-output-type)))) (defun puml-output-type-opt () "Create the flag to pass to PlantUML to produce the selected output format."