mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-25 07:28:20 +00:00
Revert "Remove leftover from previous electric-layout-rules API"
This is a backward-incompatible change, and removing it isn't really
necessary.
This reverts commit 942dad2b51
.
This commit is contained in:
parent
78725e49d2
commit
7717778e8b
@ -414,6 +414,7 @@ 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 ()
|
||||
|
Loading…
Reference in New Issue
Block a user