diff options
| author | Richard M. Stallman | 1997-08-23 00:57:01 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-08-23 00:57:01 +0000 |
| commit | 513063cf94bdd85e6a551797017d864c64d1c6d3 (patch) | |
| tree | 95876cc02d6b50f5377552bd4d4c66306eef96c5 | |
| parent | c64d8c5548b574a0b075f54cca77d61e5cbcfc60 (diff) | |
| download | emacs-513063cf94bdd85e6a551797017d864c64d1c6d3.tar.gz emacs-513063cf94bdd85e6a551797017d864c64d1c6d3.zip | |
(change-log-font-lock-keywords): Recognize "Patch by".
| -rw-r--r-- | lisp/add-log.el | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/add-log.el b/lisp/add-log.el index 6ef0347f884..31c82b4a0de 100644 --- a/lisp/add-log.el +++ b/lisp/add-log.el | |||
| @@ -99,7 +99,7 @@ and `current-time-string' are two valid values." | |||
| 99 | ("\\[!?\\([^]\n]+\\)\\]\\(:\\| (\\)" (1 font-lock-variable-name-face)) | 99 | ("\\[!?\\([^]\n]+\\)\\]\\(:\\| (\\)" (1 font-lock-variable-name-face)) |
| 100 | ;; | 100 | ;; |
| 101 | ;; Acknowledgements. | 101 | ;; Acknowledgements. |
| 102 | ("^\t\\(From\\|Reported by\\)" 1 font-lock-comment-face) | 102 | ("^\t\\(From\\|Patch by\\|Reported by\\)" 1 font-lock-comment-face) |
| 103 | ) | 103 | ) |
| 104 | "Additional expressions to highlight in Change Log mode.") | 104 | "Additional expressions to highlight in Change Log mode.") |
| 105 | 105 | ||
| @@ -143,7 +143,7 @@ If nil, use local time.") | |||
| 143 | 143 | ||
| 144 | (defun change-log-name () | 144 | (defun change-log-name () |
| 145 | (or change-log-default-name | 145 | (or change-log-default-name |
| 146 | (if (eq system-type 'vax-vms) | 146 | (if (eq system-type 'vax-vms) |
| 147 | "$CHANGE_LOG$.TXT" | 147 | "$CHANGE_LOG$.TXT" |
| 148 | "ChangeLog"))) | 148 | "ChangeLog"))) |
| 149 | 149 | ||
| @@ -175,7 +175,7 @@ If 'change-log-default-name' is nil, behave as though it were 'ChangeLog' | |||
| 175 | \(or whatever we use on this operating system). | 175 | \(or whatever we use on this operating system). |
| 176 | 176 | ||
| 177 | If 'change-log-default-name' contains a leading directory component, then | 177 | If 'change-log-default-name' contains a leading directory component, then |
| 178 | simply find it in the current directory. Otherwise, search in the current | 178 | simply find it in the current directory. Otherwise, search in the current |
| 179 | directory and its successive parents for a file so named. | 179 | directory and its successive parents for a file so named. |
| 180 | 180 | ||
| 181 | Once a file is found, `change-log-default-name' is set locally in the | 181 | Once a file is found, `change-log-default-name' is set locally in the |
| @@ -212,7 +212,7 @@ current buffer to the complete file name." | |||
| 212 | (not (string= (file-name-directory file1) | 212 | (not (string= (file-name-directory file1) |
| 213 | parent-dir)))) | 213 | parent-dir)))) |
| 214 | ;; Move up to the parent dir and try again. | 214 | ;; Move up to the parent dir and try again. |
| 215 | (setq file1 (expand-file-name | 215 | (setq file1 (expand-file-name |
| 216 | (file-name-nondirectory (change-log-name)) | 216 | (file-name-nondirectory (change-log-name)) |
| 217 | parent-dir))) | 217 | parent-dir))) |
| 218 | ;; If we found a change log in a parent, use that. | 218 | ;; If we found a change log in a parent, use that. |
| @@ -327,7 +327,7 @@ never append to an existing entry. Today's date is calculated according to | |||
| 327 | (undo-boundary) | 327 | (undo-boundary) |
| 328 | (insert (if (save-excursion | 328 | (insert (if (save-excursion |
| 329 | (beginning-of-line 1) | 329 | (beginning-of-line 1) |
| 330 | (looking-at "\\s *$")) | 330 | (looking-at "\\s *$")) |
| 331 | "" | 331 | "" |
| 332 | " ") | 332 | " ") |
| 333 | "(" defun "): ")) | 333 | "(" defun "): ")) |
| @@ -619,7 +619,7 @@ Has a preference of looking backwards." | |||
| 619 | ;; followed by the string END; move to the end of that match. | 619 | ;; followed by the string END; move to the end of that match. |
| 620 | (defun get-method-definition-1 (end) | 620 | (defun get-method-definition-1 (end) |
| 621 | (setq get-method-definition-md | 621 | (setq get-method-definition-md |
| 622 | (concat get-method-definition-md | 622 | (concat get-method-definition-md |
| 623 | (buffer-substring (match-beginning 1) (match-end 1)) | 623 | (buffer-substring (match-beginning 1) (match-end 1)) |
| 624 | end)) | 624 | end)) |
| 625 | (goto-char (match-end 0))) | 625 | (goto-char (match-end 0))) |