diff options
| author | Sam Steingold | 2004-06-25 14:45:00 +0000 |
|---|---|---|
| committer | Sam Steingold | 2004-06-25 14:45:00 +0000 |
| commit | bc071f64e5a169e5dbcf7f05509a8bfac607f639 (patch) | |
| tree | ac4f24dd91f31f33c86e6a0e7af60f26a069c7b1 | |
| parent | 94939b842d12a742ad6abf3c9adec8af7d8971f0 (diff) | |
| download | emacs-bc071f64e5a169e5dbcf7f05509a8bfac607f639.tar.gz emacs-bc071f64e5a169e5dbcf7f05509a8bfac607f639.zip | |
(change-log-font-lock-keywords): Support
Common Lisp function names `(setf symbol)'.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/add-log.el | 11 |
2 files changed, 12 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1a387308ac9..ed392b3a20f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2004-06-25 Sam Steingold <sds@gnu.org> | ||
| 2 | |||
| 3 | * add-log.el (change-log-font-lock-keywords): Support Common Lisp | ||
| 4 | function names `(setf symbol)'. | ||
| 5 | |||
| 1 | 2004-06-24 Richard M. Stallman <rms@gnu.org> | 6 | 2004-06-24 Richard M. Stallman <rms@gnu.org> |
| 2 | 7 | ||
| 3 | * replace.el (query-replace-read-args): Swallow space after \,SYMBOL. | 8 | * replace.el (query-replace-read-args): Swallow space after \,SYMBOL. |
diff --git a/lisp/add-log.el b/lisp/add-log.el index 3c29e8a465e..26faea2ddc3 100644 --- a/lisp/add-log.el +++ b/lisp/add-log.el | |||
| @@ -230,13 +230,16 @@ Note: The search is conducted only within 10%, at the beginning of the file." | |||
| 230 | ;; Possibly further names in a list: | 230 | ;; Possibly further names in a list: |
| 231 | ("\\=, \\([^ ,:([\n]+\\)" nil nil (1 'change-log-file-face)) | 231 | ("\\=, \\([^ ,:([\n]+\\)" nil nil (1 'change-log-file-face)) |
| 232 | ;; Possibly a parenthesized list of names: | 232 | ;; Possibly a parenthesized list of names: |
| 233 | ("\\= (\\([^) ,\n]+\\)" nil nil (1 'change-log-list-face)) | 233 | ("\\= (\\([^() ,\n]+\\|(\\(setf\\|SETF\\) [^() ,\n]+)\\)" |
| 234 | ("\\=, *\\([^) ,\n]+\\)" nil nil (1 'change-log-list-face))) | 234 | nil nil (1 'change-log-list-face)) |
| 235 | ("\\=, *\\([^() ,\n]+\\|(\\(setf\\|SETF\\) [^() ,\n]+)\\)" | ||
| 236 | nil nil (1 'change-log-list-face))) | ||
| 235 | ;; | 237 | ;; |
| 236 | ;; Function or variable names. | 238 | ;; Function or variable names. |
| 237 | ("^\t(\\([^) ,\n]+\\)" | 239 | ("^\t(\\([^() ,\n]+\\|(\\(setf\\|SETF\\) [^() ,\n]+)\\)" |
| 238 | (1 'change-log-list-face) | 240 | (1 'change-log-list-face) |
| 239 | ("\\=, *\\([^) ,\n]+\\)" nil nil (1 'change-log-list-face))) | 241 | ("\\=, *\\([^() ,\n]+\\|(\\(setf\\|SETF\\) [^() ,\n]+)\\)" nil nil |
| 242 | (1 'change-log-list-face))) | ||
| 240 | ;; | 243 | ;; |
| 241 | ;; Conditionals. | 244 | ;; Conditionals. |
| 242 | ("\\[!?\\([^]\n]+\\)\\]\\(:\\| (\\)" (1 'change-log-conditionals-face)) | 245 | ("\\[!?\\([^]\n]+\\)\\]\\(:\\| (\\)" (1 'change-log-conditionals-face)) |