diff options
| author | Chong Yidong | 2010-11-27 15:04:57 -0500 |
|---|---|---|
| committer | Chong Yidong | 2010-11-27 15:04:57 -0500 |
| commit | 07976ae3b816dea4fd541bbba862603d3132eb2c (patch) | |
| tree | 4a437b7cb3abb01fb144530a130c991882a1b7f2 /lisp/vc | |
| parent | 9610796712a3bc43730c99005906571a2c0bccbd (diff) | |
| parent | 402c8a49571227f8a4e678d4a6cdd6ba7841aef9 (diff) | |
| download | emacs-07976ae3b816dea4fd541bbba862603d3132eb2c.tar.gz emacs-07976ae3b816dea4fd541bbba862603d3132eb2c.zip | |
Merge changes from emacs-23 branch
Diffstat (limited to 'lisp/vc')
| -rw-r--r-- | lisp/vc/log-edit.el | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/vc/log-edit.el b/lisp/vc/log-edit.el index c0aa595d968..2bce58f50f2 100644 --- a/lisp/vc/log-edit.el +++ b/lisp/vc/log-edit.el | |||
| @@ -350,17 +350,16 @@ automatically." | |||
| 350 | (defvar log-edit-font-lock-keywords | 350 | (defvar log-edit-font-lock-keywords |
| 351 | ;; Copied/inspired by message-font-lock-keywords. | 351 | ;; Copied/inspired by message-font-lock-keywords. |
| 352 | `((log-edit-match-to-eoh | 352 | `((log-edit-match-to-eoh |
| 353 | (,(concat "^\\(\\([a-z]+\\):\\)" log-edit-header-contents-regexp | 353 | (,(concat "^\\(\\([a-z]+\\):\\)" log-edit-header-contents-regexp) |
| 354 | "\\|\\(.*\\)") | ||
| 355 | (progn (goto-char (match-beginning 0)) (match-end 0)) nil | 354 | (progn (goto-char (match-beginning 0)) (match-end 0)) nil |
| 356 | (1 (if (assoc (match-string 2) log-edit-headers-alist) | 355 | (1 (if (assoc (match-string 2) log-edit-headers-alist) |
| 357 | 'log-edit-header | 356 | 'log-edit-header |
| 358 | 'log-edit-unknown-header) | 357 | 'log-edit-unknown-header) |
| 359 | nil lax) | 358 | nil lax) |
| 359 | ;; From `log-edit-header-contents-regexp': | ||
| 360 | (3 (or (cdr (assoc (match-string 2) log-edit-headers-alist)) | 360 | (3 (or (cdr (assoc (match-string 2) log-edit-headers-alist)) |
| 361 | 'log-edit-header) | 361 | 'log-edit-header) |
| 362 | nil lax) | 362 | nil lax))))) |
| 363 | (4 font-lock-warning-face))))) | ||
| 364 | 363 | ||
| 365 | ;;;###autoload | 364 | ;;;###autoload |
| 366 | (defun log-edit (callback &optional setup params buffer mode &rest ignore) | 365 | (defun log-edit (callback &optional setup params buffer mode &rest ignore) |