From: Alan Mackenzie Date: Mon, 26 Jun 2023 13:25:45 +0000 (+0000) Subject: CC Mode: Fix parenthesis bug in XEmacs part of macro X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fc6bcb89803a37e106f302282bff162e5d90bc40;p=emacs.git CC Mode: Fix parenthesis bug in XEmacs part of macro * lisp/progmodes/cc-defs.el (c-looking-at-non-alphnumspace): Correct confused parentheses. --- diff --git a/lisp/progmodes/cc-defs.el b/lisp/progmodes/cc-defs.el index f9b63cbeed6..1d7f90ed428 100644 --- a/lisp/progmodes/cc-defs.el +++ b/lisp/progmodes/cc-defs.el @@ -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. (defsubst c-intersect-lists (list alist)