emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master fc6bcb89803: CC Mode: Fix parenthesis bug in XEmacs part of macro


From: Alan Mackenzie
Subject: master fc6bcb89803: CC Mode: Fix parenthesis bug in XEmacs part of macro
Date: Mon, 26 Jun 2023 09:27:43 -0400 (EDT)

branch: master
commit fc6bcb89803a37e106f302282bff162e5d90bc40
Author: Alan Mackenzie <acm@muc.de>
Commit: Alan Mackenzie <acm@muc.de>

    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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]