summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/regexp-opt.el
diff options
context:
space:
mode:
authorMorgan Willcock <morgan@ice9.digital>2024-09-24 19:33:11 +0100
committerEli Zaretskii <eliz@gnu.org>2024-10-05 13:11:04 +0300
commitba44fc9a447be75eff304f606e0cc9ea7ba7656a (patch)
tree251e2711cd2908628318d55b7dcdeaa476bfcfbb /lisp/emacs-lisp/regexp-opt.el
parent5a462948e13393fc742e36b655c529f3c5e851bb (diff)
downloademacs-ba44fc9a447be75eff304f606e0cc9ea7ba7656a.tar.gz
emacs-ba44fc9a447be75eff304f606e0cc9ea7ba7656a.tar.bz2
emacs-ba44fc9a447be75eff304f606e0cc9ea7ba7656a.zip
Restore comment/string check for 'electric-layout-mode'
This reverts an accidental change which allowed 'electric-layout-mode' to insert newlines inside strings and comments. The new behavior can be obtained by setting the new variable 'electric-layout-allow-in-comment-or-string' to a non-nil value. * lisp/electric.el (electric-layout-allow-in-comment-or-string): New variable to determine whether inserting newlines is permitted within comments or strings. (electric-layout-post-self-insert-function-1): Restore the previous default behavior of not inserting newlines within comments or strings.
Diffstat (limited to 'lisp/emacs-lisp/regexp-opt.el')
0 files changed, 0 insertions, 0 deletions