diff options
author | João Távora <joaotavora@gmail.com> | 2019-01-18 21:54:48 +0000 |
---|---|---|
committer | João Távora <joaotavora@gmail.com> | 2019-01-18 22:05:50 +0000 |
commit | 942dad2b519cabddf6caea7641517507dc06944b (patch) | |
tree | 6167a0217b30264004ce0a85b04d6b4aaa70e677 /lisp/electric.el | |
parent | 7818bcdd6cd6e2fbc0b0efb35d3bb6588752c5a4 (diff) | |
download | emacs-942dad2b519cabddf6caea7641517507dc06944b.tar.gz |
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.
Diffstat (limited to 'lisp/electric.el')
-rw-r--r-- | lisp/electric.el | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lisp/electric.el b/lisp/electric.el index e7ebdf5739d..4791f8e18c4 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 () |