emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 6896604: * lisp/electric.el: Fix typo in last chang


From: Stefan Monnier
Subject: [Emacs-diffs] master 6896604: * lisp/electric.el: Fix typo in last change.
Date: Mon, 21 Jan 2019 14:31:30 -0500 (EST)

branch: master
commit 6896604babb4e9ac775751f9d012a95785948aae
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>

    * lisp/electric.el: Fix typo in last change.
---
 lisp/electric.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/electric.el b/lisp/electric.el
index 9610b4b..ed968d7 100644
--- a/lisp/electric.el
+++ b/lisp/electric.el
@@ -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.
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]