]> git.eshelyaron.com Git - emacs.git/commitdiff
CC Mode: Fix parenthesis bug in XEmacs part of macro
authorAlan Mackenzie <acm@muc.de>
Mon, 26 Jun 2023 13:25:45 +0000 (13:25 +0000)
committerAlan Mackenzie <acm@muc.de>
Mon, 26 Jun 2023 13:25:45 +0000 (13:25 +0000)
* lisp/progmodes/cc-defs.el (c-looking-at-non-alphnumspace):
Correct confused parentheses.

lisp/progmodes/cc-defs.el

index f9b63cbeed61c0ee060a38990b15d7b5be802e2a..1d7f90ed428806da92c1ece2b0e8215652d4a030 100644 (file)
@@ -1870,9 +1870,9 @@ with value CHAR in the region [FROM to)."
       '(looking-at
        "\\([;#]\\|\\'\\|\\s(\\|\\s)\\|\\s\"\\|\\s\\\\|\\s$\\|\\s<\\|\\s>\\|\\s!\\)")
     '(or (looking-at
-         "\\([;#]\\|\\'\\|\\s(\\|\\s)\\|\\s\"\\|\\s\\\\|\\s$\\|\\s<\\|\\s>\\)"
+         "\\([;#]\\|\\'\\|\\s(\\|\\s)\\|\\s\"\\|\\s\\\\|\\s$\\|\\s<\\|\\s>\\)")
          (let ((prop (c-get-char-property (point) 'syntax-table)))
-           (equal prop '(14))))))) ; '(14) is generic comment delimiter.
+           (equal prop '(14)))))) ; '(14) is generic comment delimiter.
 
 \f
 (defsubst c-intersect-lists (list alist)