mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-31 20:02:42 +00:00
; Fix quoting of braces in electric-tests.el.
This commit is contained in:
parent
7fa5dec86e
commit
6d3455eb14
@ -872,7 +872,7 @@ baz\"\""
|
||||
|
||||
(defun electric-layout-for-c-style-du-jour (inserted)
|
||||
"A function to use in `electric-layout-rules'"
|
||||
(when (memq inserted '(?{ ?}))
|
||||
(when (memq inserted '(?\{ ?\}))
|
||||
(save-excursion
|
||||
(backward-char 2) (c-point-syntax) (forward-char) ; silly, but needed
|
||||
(c-brace-newlines (c-point-syntax)))))
|
||||
|
Loading…
Reference in New Issue
Block a user