diff options
| author | Richard M. Stallman | 1998-07-31 03:17:08 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1998-07-31 03:17:08 +0000 |
| commit | ae659ad5e261d4510759c9b27864b67aa398bb2d (patch) | |
| tree | ba389b6f1d45494231257235a9ab962ae4adc4e5 | |
| parent | 1c39db69d87706ff829ff272eec1d428bda81b7c (diff) | |
| download | emacs-ae659ad5e261d4510759c9b27864b67aa398bb2d.tar.gz emacs-ae659ad5e261d4510759c9b27864b67aa398bb2d.zip | |
(lisp-font-lock-keywords-1): Fontify `defconstant' and `defparameter'.
(lisp-font-lock-keywords-2): Fontify `lambda', `in-package' and `locally'.
| -rw-r--r-- | lisp/font-lock.el | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/font-lock.el b/lisp/font-lock.el index 2dbb5e0c72b..db0e1973812 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el | |||
| @@ -1912,7 +1912,7 @@ This function could be MATCHER in a MATCH-ANCHORED `font-lock-keywords' item." | |||
| 1912 | "skeleton\\|widget\\|setf-expander\\|method-combination\\|" | 1912 | "skeleton\\|widget\\|setf-expander\\|method-combination\\|" |
| 1913 | "\\(symbol\\|compiler\\|modify\\)-macro\\)\\)\\|" | 1913 | "\\(symbol\\|compiler\\|modify\\)-macro\\)\\)\\|" |
| 1914 | ;; Variable declarations. | 1914 | ;; Variable declarations. |
| 1915 | "\\(const\\|custom\\|face\\|var\\)\\|" | 1915 | "\\(const\\(ant\\)?\\|custom\\|face\\|var\\|parameter\\)\\|" |
| 1916 | ;; Structure declarations. | 1916 | ;; Structure declarations. |
| 1917 | "\\(class\\|group\\|package\\|struct\\|type\\)" | 1917 | "\\(class\\|group\\|package\\|struct\\|type\\)" |
| 1918 | "\\)\\)\\>" | 1918 | "\\)\\)\\>" |
| @@ -1920,9 +1920,9 @@ This function could be MATCHER in a MATCH-ANCHORED `font-lock-keywords' item." | |||
| 1920 | "[ \t'\(]*" | 1920 | "[ \t'\(]*" |
| 1921 | "\\(\\sw+\\)?") | 1921 | "\\(\\sw+\\)?") |
| 1922 | '(1 font-lock-keyword-face) | 1922 | '(1 font-lock-keyword-face) |
| 1923 | '(8 (cond ((match-beginning 3) font-lock-function-name-face) | 1923 | '(9 (cond ((match-beginning 3) font-lock-function-name-face) |
| 1924 | ((match-beginning 4) font-lock-function-name-face) | ||
| 1925 | ((match-beginning 6) font-lock-variable-name-face) | 1924 | ((match-beginning 6) font-lock-variable-name-face) |
| 1925 | ((match-beginning 8) font-lock-variable-name-face) | ||
| 1926 | (t font-lock-type-face)) | 1926 | (t font-lock-type-face)) |
| 1927 | nil t)) | 1927 | nil t)) |
| 1928 | ;; | 1928 | ;; |
| @@ -1946,7 +1946,7 @@ This function could be MATCHER in a MATCH-ANCHORED `font-lock-keywords' item." | |||
| 1946 | "save-match-data" "save-current-buffer" "unwind-protect" | 1946 | "save-match-data" "save-current-buffer" "unwind-protect" |
| 1947 | "condition-case" "track-mouse" | 1947 | "condition-case" "track-mouse" |
| 1948 | "eval-after-load" "eval-and-compile" "eval-when-compile" | 1948 | "eval-after-load" "eval-and-compile" "eval-when-compile" |
| 1949 | "eval-when" | 1949 | "eval-when" "lambda" |
| 1950 | "with-current-buffer" "with-electric-help" | 1950 | "with-current-buffer" "with-electric-help" |
| 1951 | "with-output-to-string" "with-output-to-temp-buffer" | 1951 | "with-output-to-string" "with-output-to-temp-buffer" |
| 1952 | "with-temp-buffer" "with-temp-file" | 1952 | "with-temp-buffer" "with-temp-file" |
| @@ -1959,9 +1959,9 @@ This function could be MATCHER in a MATCH-ANCHORED `font-lock-keywords' item." | |||
| 1959 | "(" (regexp-opt | 1959 | "(" (regexp-opt |
| 1960 | '("when" "unless" "case" "ecase" "typecase" "etypecase" | 1960 | '("when" "unless" "case" "ecase" "typecase" "etypecase" |
| 1961 | "ccase" "ctypecase" "handler-case" "handler-bind" | 1961 | "ccase" "ctypecase" "handler-case" "handler-bind" |
| 1962 | "restart-bind" "restart-case" | 1962 | "restart-bind" "restart-case" "in-package" |
| 1963 | "assert" "abort" "error" "cerror" "break" "ignore-errors" | 1963 | "assert" "abort" "error" "cerror" "break" "ignore-errors" |
| 1964 | "loop" "do" "do*" "dotimes" "dolist" "the" | 1964 | "loop" "do" "do*" "dotimes" "dolist" "the" "locally" |
| 1965 | "proclaim" "declaim" "declare" "symbol-macrolet" | 1965 | "proclaim" "declaim" "declare" "symbol-macrolet" |
| 1966 | "lexical-let" "lexical-let*" "flet" "labels" "compiler-let" | 1966 | "lexical-let" "lexical-let*" "flet" "labels" "compiler-let" |
| 1967 | "destructuring-bind" "macrolet" "tagbody" "block" | 1967 | "destructuring-bind" "macrolet" "tagbody" "block" |