diff options
| author | Glenn Morris | 2011-09-07 00:16:40 -0700 |
|---|---|---|
| committer | Glenn Morris | 2011-09-07 00:16:40 -0700 |
| commit | 7d0ee75c2543a3c67f995678ee38b0090c965bd8 (patch) | |
| tree | 96d8758a4420882554fcc2023e67926e57f23580 | |
| parent | ff7271b99367cbaf2fd6c345f6a53fbc7d0ba870 (diff) | |
| download | emacs-7d0ee75c2543a3c67f995678ee38b0090c965bd8.tar.gz emacs-7d0ee75c2543a3c67f995678ee38b0090c965bd8.zip | |
* lisp/progmodes/cc-fonts.el: Remove trailing whitespace.
| -rw-r--r-- | lisp/progmodes/cc-fonts.el | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lisp/progmodes/cc-fonts.el b/lisp/progmodes/cc-fonts.el index a0089dc1e24..1178a8a0b7e 100644 --- a/lisp/progmodes/cc-fonts.el +++ b/lisp/progmodes/cc-fonts.el | |||
| @@ -208,7 +208,7 @@ | |||
| 208 | ;; from within a #if preprocessor construct. | 208 | ;; from within a #if preprocessor construct. |
| 209 | (defvar c-font-lock-context nil) | 209 | (defvar c-font-lock-context nil) |
| 210 | (make-variable-buffer-local 'c-font-lock-context) | 210 | (make-variable-buffer-local 'c-font-lock-context) |
| 211 | 211 | ||
| 212 | (defmacro c-put-font-lock-face (from to face) | 212 | (defmacro c-put-font-lock-face (from to face) |
| 213 | ;; Put a face on a region (overriding any existing face) in the way | 213 | ;; Put a face on a region (overriding any existing face) in the way |
| 214 | ;; font-lock would do it. In XEmacs that means putting an | 214 | ;; font-lock would do it. In XEmacs that means putting an |
| @@ -408,7 +408,7 @@ | |||
| 408 | ;; establish a context for the current text when, e.g., a character | 408 | ;; establish a context for the current text when, e.g., a character |
| 409 | ;; is typed on a C++ inheritance continuation line, or a jit-lock | 409 | ;; is typed on a C++ inheritance continuation line, or a jit-lock |
| 410 | ;; chunk starts there. | 410 | ;; chunk starts there. |
| 411 | ;; | 411 | ;; |
| 412 | ;; The new function works much like a matcher element in | 412 | ;; The new function works much like a matcher element in |
| 413 | ;; `font-lock-keywords'. It cuts out a little bit of the overhead | 413 | ;; `font-lock-keywords'. It cuts out a little bit of the overhead |
| 414 | ;; compared to a real matcher. The main reason is however to pass the | 414 | ;; compared to a real matcher. The main reason is however to pass the |
| @@ -482,7 +482,7 @@ | |||
| 482 | ;; This function does not do any hidden buffer changes, but the | 482 | ;; This function does not do any hidden buffer changes, but the |
| 483 | ;; generated functions will. (They are however used in places | 483 | ;; generated functions will. (They are however used in places |
| 484 | ;; covered by the font-lock context.) | 484 | ;; covered by the font-lock context.) |
| 485 | ;; | 485 | ;; |
| 486 | ;; Note: Replace `byte-compile' with `eval' to debug the generated | 486 | ;; Note: Replace `byte-compile' with `eval' to debug the generated |
| 487 | ;; lambda more easily. | 487 | ;; lambda more easily. |
| 488 | (byte-compile | 488 | (byte-compile |
| @@ -1427,7 +1427,7 @@ casts and declarations are fontified. Used on level 2 and higher." | |||
| 1427 | ;; to check this. If we get there, check whether a "typedef" | 1427 | ;; to check this. If we get there, check whether a "typedef" |
| 1428 | ;; is there, then fontify the declarators accordingly. | 1428 | ;; is there, then fontify the declarators accordingly. |
| 1429 | (let ((decl-search-lim (max (- (point) 50000) (point-min))) | 1429 | (let ((decl-search-lim (max (- (point) 50000) (point-min))) |
| 1430 | paren-state bod-res encl-pos is-typedef | 1430 | paren-state bod-res encl-pos is-typedef |
| 1431 | c-recognize-knr-p) ; Strictly speaking, bogus, but it | 1431 | c-recognize-knr-p) ; Strictly speaking, bogus, but it |
| 1432 | ; speeds up lisp.h tremendously. | 1432 | ; speeds up lisp.h tremendously. |
| 1433 | (save-excursion | 1433 | (save-excursion |
| @@ -1525,7 +1525,7 @@ casts and declarations are fontified. Used on level 2 and higher." | |||
| 1525 | ;; Fontify the declarators of (nested) declarations we're in the middle of. | 1525 | ;; Fontify the declarators of (nested) declarations we're in the middle of. |
| 1526 | ;; This is mainly for when a jit-lock etc. chunk starts inside the brace | 1526 | ;; This is mainly for when a jit-lock etc. chunk starts inside the brace |
| 1527 | ;; block of a struct/union/class, etc. | 1527 | ;; block of a struct/union/class, etc. |
| 1528 | ;; | 1528 | ;; |
| 1529 | ;; This function will be called from font-lock for a region bounded by POINT | 1529 | ;; This function will be called from font-lock for a region bounded by POINT |
| 1530 | ;; and LIMIT, as though it were to identify a keyword for | 1530 | ;; and LIMIT, as though it were to identify a keyword for |
| 1531 | ;; font-lock-keyword-face. It always returns NIL to inhibit this and | 1531 | ;; font-lock-keyword-face. It always returns NIL to inhibit this and |
| @@ -1565,7 +1565,7 @@ casts and declarations are fontified. Used on level 2 and higher." | |||
| 1565 | (when (c-safe (c-forward-sexp)) | 1565 | (when (c-safe (c-forward-sexp)) |
| 1566 | (c-forward-syntactic-ws) | 1566 | (c-forward-syntactic-ws) |
| 1567 | (c-font-lock-declarators limit t in-typedef))))))) | 1567 | (c-font-lock-declarators limit t in-typedef))))))) |
| 1568 | 1568 | ||
| 1569 | (c-lang-defconst c-simple-decl-matchers | 1569 | (c-lang-defconst c-simple-decl-matchers |
| 1570 | "Simple font lock matchers for types and declarations. These are used | 1570 | "Simple font lock matchers for types and declarations. These are used |
| 1571 | on level 2 only and so aren't combined with `c-complex-decl-matchers'." | 1571 | on level 2 only and so aren't combined with `c-complex-decl-matchers'." |
| @@ -2513,7 +2513,7 @@ need for `pike-font-lock-extra-types'.") | |||
| 2513 | (defconst gtkdoc-font-lock-doc-comments | 2513 | (defconst gtkdoc-font-lock-doc-comments |
| 2514 | (let ((symbol "[a-zA-Z0-9_]+") | 2514 | (let ((symbol "[a-zA-Z0-9_]+") |
| 2515 | (header "^ \\* ")) | 2515 | (header "^ \\* ")) |
| 2516 | `((,(concat header "\\(" symbol "\\):[ \t]*$") | 2516 | `((,(concat header "\\(" symbol "\\):[ \t]*$") |
| 2517 | 1 ,c-doc-markup-face-name prepend nil) | 2517 | 1 ,c-doc-markup-face-name prepend nil) |
| 2518 | (,(concat symbol "()") | 2518 | (,(concat symbol "()") |
| 2519 | 0 ,c-doc-markup-face-name prepend nil) | 2519 | 0 ,c-doc-markup-face-name prepend nil) |