Commit 7717778e authored by João Távora's avatar João Távora

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 942dad2b.
parent 78725e49
Pipeline #568 passed with stage
in 58 minutes and 30 seconds
......@@ -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 ()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment