From: Stefan Monnier Date: Mon, 21 Jan 2019 19:30:29 +0000 (-0500) Subject: * lisp/electric.el: Fix typo in last change. X-Git-Tag: emacs-27.0.90~3770 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6896604babb4e9ac775751f9d012a95785948aae;p=emacs.git * lisp/electric.el: Fix typo in last change. --- diff --git a/lisp/electric.el b/lisp/electric.el index 9610b4be22f..ed968d7c65e 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.