From fc6bcb89803a37e106f302282bff162e5d90bc40 Mon Sep 17 00:00:00 2001 From: Alan Mackenzie Date: Mon, 26 Jun 2023 13:25:45 +0000 Subject: [PATCH] CC Mode: Fix parenthesis bug in XEmacs part of macro * lisp/progmodes/cc-defs.el (c-looking-at-non-alphnumspace): Correct confused parentheses. --- lisp/progmodes/cc-defs.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.39.2