]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/electric.el: Fix typo in last change.
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 21 Jan 2019 19:30:29 +0000 (14:30 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 21 Jan 2019 19:30:29 +0000 (14:30 -0500)
lisp/electric.el

index 9610b4be22fe15215a6d28f0543486408a513dbc..ed968d7c65e7b5915976b07c42ed0f5b70b4701d 100644 (file)
@@ -198,8 +198,8 @@ relative order must be maintained within it."
   (setq-default post-self-insert-hook
                 (sort (default-value 'post-self-insert-hook)
                       #'(lambda (fn1 fn2)
-                          (< (or (if (symbol fn1) (get fn1 'priority)) 0)
-                             (or (if (symbol fn2) (get fn2 'priority)) 0))))))
+                          (< (or (if (symbolp fn1) (get fn1 'priority)) 0)
+                             (or (if (symbolp fn2) (get fn2 'priority)) 0))))))
 
 ;;; Electric indentation.