Mercurial > emacs
comparison lisp/add-log.el @ 29329:5b85d9e700da
(change-log-font-lock-keywords) <function>: Add
pattern for function of change.
(change-log-font-lock-keywords) <acknowledgements>: Amalgamate
acknowledgements patterns.
author | Dave Love <fx@gnu.org> |
---|---|
date | Wed, 31 May 2000 17:41:07 +0000 |
parents | e5643646a988 |
children | 3aa7c156087a |
comparison
equal
deleted
inserted
replaced
29328:a55fb9812416 | 29329:5b85d9e700da |
---|---|
171 ("\\=, *\\([^) ,:\n]+\\)" nil nil (1 font-lock-keyword-face))) | 171 ("\\=, *\\([^) ,:\n]+\\)" nil nil (1 font-lock-keyword-face))) |
172 ;; | 172 ;; |
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) |
184 "Keymap for Change Log major mode.") | 185 "Keymap for Change Log major mode.") |
185 | 186 |
534 (paragraph-start (concat paragraph-start "\\|\\s *\\s("))) | 535 (paragraph-start (concat paragraph-start "\\|\\s *\\s("))) |
535 (fill-region beg end justify) | 536 (fill-region beg end justify) |
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) |
543 | 544 |
544 ;;;###autoload | 545 ;;;###autoload |