# HG changeset patch # User Alan Mackenzie # Date 1207514065 0 # Node ID efa8f716525c3afc740d38ec9ad276eefea5fd66 # Parent 9b3c86e7f6b05a603615b6d46c316098de24c70d (c-before-font-lock-function): Correct a typo in the doc string. diff -r 9b3c86e7f6b0 -r efa8f716525c lisp/progmodes/cc-langs.el --- a/lisp/progmodes/cc-langs.el Sun Apr 06 20:33:05 2008 +0000 +++ b/lisp/progmodes/cc-langs.el Sun Apr 06 20:34:25 2008 +0000 @@ -445,7 +445,7 @@ will have been saved; the return value is ignored. The function may extend the region to be fontified by setting the -buffer local variables c-old-BEG and c-old-END. +buffer local variables c-new-BEG and c-new-END. The function is called even when font locking is disabled. @@ -728,13 +728,14 @@ "define")) (c-lang-defconst c-opt-cpp-macro-define-start - ;; Regexp matching everything up to the macro body of a cpp define, - ;; or the end of the logical line if there is none. Set if - ;; c-opt-cpp-macro-define is. + ;; Regexp matching everything up to the macro body of a cpp define, or the + ;; end of the logical line if there is none. Submatch 1 is the name of the + ;; macro. Set if c-opt-cpp-macro-define is. t (if (c-lang-const c-opt-cpp-macro-define) (concat (c-lang-const c-opt-cpp-prefix) (c-lang-const c-opt-cpp-macro-define) - "[ \t]+\\(\\sw\\|_\\)+\\(\([^\)]*\)\\)?" + "[ \t]+\\(\\(\\sw\\|_\\)+\\)\\(\([^\)]*\)\\)?" + ;; ^ ^ #defined name "\\([ \t]\\|\\\\\n\\)*"))) (c-lang-defvar c-opt-cpp-macro-define-start (c-lang-const c-opt-cpp-macro-define-start))