diff options
| author | Dave Love | 2000-05-31 17:41:51 +0000 |
|---|---|---|
| committer | Dave Love | 2000-05-31 17:41:51 +0000 |
| commit | a8d693d899da8c70b3637903a441e21defef2bee (patch) | |
| tree | 07b9cf65c7ca3436efae60b7af630662c05db921 /lisp | |
| parent | a50192e7ed220e713b8ce85c63144146cc36c7dc (diff) | |
| download | emacs-a8d693d899da8c70b3637903a441e21defef2bee.tar.gz emacs-a8d693d899da8c70b3637903a441e21defef2bee.zip | |
(change-log-font-lock-keywords) <function>: Add
pattern for function of change.
(change-log-font-lock-keywords) <acknowledgements>: Amalgamate
acknowledgements patterns.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/add-log.el | 11 |
2 files changed, 13 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 025d1aa43f1..f3761f342a6 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2000-05-31 Dave Love <fx@gnu.org> | ||
| 2 | |||
| 3 | * add-log.el (change-log-font-lock-keywords) <function>: Add | ||
| 4 | pattern for function of change. | ||
| 5 | (change-log-font-lock-keywords) <acknowledgements>: Amalgamate | ||
| 6 | acknowledgements patterns. | ||
| 7 | |||
| 1 | 2000-05-31 Kenichi Handa <handa@etl.go.jp> | 8 | 2000-05-31 Kenichi Handa <handa@etl.go.jp> |
| 2 | 9 | ||
| 3 | * isearch.el (isearch-printing-char): If keyboard coding system is | 10 | * isearch.el (isearch-printing-char): If keyboard coding system is |
diff --git a/lisp/add-log.el b/lisp/add-log.el index aeb9fb48e10..8f34c8f1f1e 100644 --- a/lisp/add-log.el +++ b/lisp/add-log.el | |||
| @@ -173,11 +173,12 @@ Note: The search is conducted only within 10%, at the beginning of the file." | |||
| 173 | ;; Conditionals. | 173 | ;; Conditionals. |
| 174 | ("\\[!?\\([^]\n]+\\)\\]\\(:\\| (\\)" (1 font-lock-variable-name-face)) | 174 | ("\\[!?\\([^]\n]+\\)\\]\\(:\\| (\\)" (1 font-lock-variable-name-face)) |
| 175 | ;; | 175 | ;; |
| 176 | ;; Function of change. | ||
| 177 | ("<\\([^>\n]+\\)>\\(:\\| (\\)" (1 font-lock-variable-name-face)) | ||
| 178 | ;; | ||
| 176 | ;; Acknowledgements. | 179 | ;; Acknowledgements. |
| 177 | ("^\t\\(From\\|Patch\\(es\\)? by\\|Report\\(ed by\\| from\\)\\|Suggest\\(ed by\\|ion from\\)\\)" | 180 | ("\\(^\t\\| \\)\\(From\\|Patch\\(es\\)? by\\|Report\\(ed by\\| from\\)\\|Suggest\\(ed by\\|ion from\\)\\)" |
| 178 | 1 font-lock-comment-face) | 181 | 2 font-lock-comment-face)) |
| 179 | (" \\(From\\|Patch\\(es\\)? by\\|Report\\(ed by\\| from\\)\\|Suggest\\(ed by\\|ion from\\)\\)" | ||
| 180 | 1 font-lock-comment-face)) | ||
| 181 | "Additional expressions to highlight in Change Log mode.") | 182 | "Additional expressions to highlight in Change Log mode.") |
| 182 | 183 | ||
| 183 | (defvar change-log-mode-map (make-sparse-keymap) | 184 | (defvar change-log-mode-map (make-sparse-keymap) |
| @@ -536,7 +537,7 @@ Prefix arg means justify as well." | |||
| 536 | t)) | 537 | t)) |
| 537 | 538 | ||
| 538 | (defcustom add-log-current-defun-header-regexp | 539 | (defcustom add-log-current-defun-header-regexp |
| 539 | "^\\([A-Z][A-Z_ ]*[A-Z_]\\|[-_a-zA-Z]+\\)[ \t]*[:=]" | 540 | "^\\([[:upper:]][[:upper:]_ ]*[[:upper:]_]\\|[-_[:alpha:]]+\\)[ \t]*[:=]" |
| 540 | "*Heuristic regexp used by `add-log-current-defun' for unknown major modes." | 541 | "*Heuristic regexp used by `add-log-current-defun' for unknown major modes." |
| 541 | :type 'regexp | 542 | :type 'regexp |
| 542 | :group 'change-log) | 543 | :group 'change-log) |