]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix quoting of braces in electric-tests.el.
authorBasil L. Contovounesios <contovob@tcd.ie>
Tue, 17 Aug 2021 23:54:44 +0000 (00:54 +0100)
committerBasil L. Contovounesios <contovob@tcd.ie>
Tue, 17 Aug 2021 23:54:44 +0000 (00:54 +0100)
test/lisp/electric-tests.el

index 4b79992553947850b4558f0b8768b51763e5dda7..c5124aca5eeccf195df5af9139fc1a06dd93d893 100644 (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)))))