[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/progmodes/cc-fonts.el
From: |
Martin Stjernholm |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/progmodes/cc-fonts.el |
Date: |
Sun, 16 Nov 2003 11:55:10 -0500 |
Index: emacs/lisp/progmodes/cc-fonts.el
diff -c emacs/lisp/progmodes/cc-fonts.el:1.4
emacs/lisp/progmodes/cc-fonts.el:1.5
*** emacs/lisp/progmodes/cc-fonts.el:1.4 Wed Sep 24 09:55:49 2003
--- emacs/lisp/progmodes/cc-fonts.el Sun Nov 16 11:55:08 2003
***************
*** 894,900 ****
(save-restriction
(let (start-pos
! c-disallow-comma-in-<>-arglists
;; Nonzero if the `c-decl-prefix-re' match is in an arglist context,
;; as opposed to a statement-level context. The major difference is
;; that "," works as declaration delimiter in an arglist context,
--- 894,900 ----
(save-restriction
(let (start-pos
! c-restricted-<>-arglists
;; Nonzero if the `c-decl-prefix-re' match is in an arglist context,
;; as opposed to a statement-level context. The major difference is
;; that "," works as declaration delimiter in an arglist context,
***************
*** 1050,1060 ****
;; If we're in a normal arglist context we don't want to
;; recognize commas in nested angle bracket arglists since
;; those commas could be part of our own arglist.
! c-disallow-comma-in-<>-arglists
(and c-recognize-<>-arglists
(eq arglist-type 'other)))
! (when (and c-disallow-comma-in-<>-arglists
(/= arglist-match ?,))
;; We're standing at the start of a normal arglist so remove any
;; angle bracket arglists containing commas that's been
--- 1050,1060 ----
;; If we're in a normal arglist context we don't want to
;; recognize commas in nested angle bracket arglists since
;; those commas could be part of our own arglist.
! c-restricted-<>-arglists
(and c-recognize-<>-arglists
(eq arglist-type 'other)))
! (when (and c-restricted-<>-arglists
(/= arglist-match ?,))
;; We're standing at the start of a normal arglist so remove any
;; angle bracket arglists containing commas that's been
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/progmodes/cc-fonts.el,
Martin Stjernholm <=