summaryrefslogtreecommitdiff
path: root/lisp/add-log.el
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>2000-05-31 17:41:51 +0000
committerDave Love <fx@gnu.org>2000-05-31 17:41:51 +0000
commita8d693d899da8c70b3637903a441e21defef2bee (patch)
tree07b9cf65c7ca3436efae60b7af630662c05db921 /lisp/add-log.el
parenta50192e7ed220e713b8ce85c63144146cc36c7dc (diff)
downloademacs-a8d693d899da8c70b3637903a441e21defef2bee.tar.gz
(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/add-log.el')
-rw-r--r--lisp/add-log.el11
1 files changed, 6 insertions, 5 deletions
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."
;; Conditionals.
("\\[!?\\([^]\n]+\\)\\]\\(:\\| (\\)" (1 font-lock-variable-name-face))
;;
+ ;; Function of change.
+ ("<\\([^>\n]+\\)>\\(:\\| (\\)" (1 font-lock-variable-name-face))
+ ;;
;; Acknowledgements.
- ("^\t\\(From\\|Patch\\(es\\)? by\\|Report\\(ed by\\| from\\)\\|Suggest\\(ed by\\|ion from\\)\\)"
- 1 font-lock-comment-face)
- (" \\(From\\|Patch\\(es\\)? by\\|Report\\(ed by\\| from\\)\\|Suggest\\(ed by\\|ion from\\)\\)"
- 1 font-lock-comment-face))
+ ("\\(^\t\\| \\)\\(From\\|Patch\\(es\\)? by\\|Report\\(ed by\\| from\\)\\|Suggest\\(ed by\\|ion from\\)\\)"
+ 2 font-lock-comment-face))
"Additional expressions to highlight in Change Log mode.")
(defvar change-log-mode-map (make-sparse-keymap)
@@ -536,7 +537,7 @@ Prefix arg means justify as well."
t))
(defcustom add-log-current-defun-header-regexp
- "^\\([A-Z][A-Z_ ]*[A-Z_]\\|[-_a-zA-Z]+\\)[ \t]*[:=]"
+ "^\\([[:upper:]][[:upper:]_ ]*[[:upper:]_]\\|[-_[:alpha:]]+\\)[ \t]*[:=]"
"*Heuristic regexp used by `add-log-current-defun' for unknown major modes."
:type 'regexp
:group 'change-log)