emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 942dad2 1/2: Remove leftover from previous electric


From: João Távora
Subject: [Emacs-diffs] master 942dad2 1/2: Remove leftover from previous electric-layout-rules API
Date: Fri, 18 Jan 2019 17:06:25 -0500 (EST)

branch: master
commit 942dad2b519cabddf6caea7641517507dc06944b
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>

    Remove leftover from previous electric-layout-rules API
    
    An element of electric-layout-rules is either a function or a pair
    (CHAR . WHERE), and WHERE can't be a function anymore.
    
    * lisp/electric.el (electric-layout-post-self-insert-function-1):
    Remove leftover line.
---
 lisp/electric.el | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lisp/electric.el b/lisp/electric.el
index e7ebdf5..4791f8e 100644
--- a/lisp/electric.el
+++ b/lisp/electric.el
@@ -415,7 +415,6 @@ If multiple rules match, only first one is executed.")
                ;; Not in a string or comment.
                (not (nth 8 (save-excursion (syntax-ppss pos)))))
       (goto-char pos)
-      (when (functionp rule) (setq rule (funcall rule)))
       (dolist (sym (if (symbolp rule) (list rule) rule))
         (let* ((nl-after
                 (lambda ()



reply via email to

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