From 6896604babb4e9ac775751f9d012a95785948aae Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Mon, 21 Jan 2019 14:30:29 -0500 Subject: [PATCH] * 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 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. -- 2.39.2