1
0
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:
Basil L. Contovounesios 2021-08-18 00:54:44 +01:00
parent 7fa5dec86e
commit 6d3455eb14

View File

@ -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)))))