[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r110266: * lisp/vc/log-edit.el (log-e
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r110266: * lisp/vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to |
Date: |
Sat, 29 Sep 2012 23:30:25 -0400 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 110266
committer: Stefan Monnier <address@hidden>
branch nick: trunk
timestamp: Sat 2012-09-29 23:30:25 -0400
message:
* lisp/vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
chose face.
(log-edit-empty-buffer-p): Don't require a space after a header.
modified:
lisp/ChangeLog
lisp/vc/log-edit.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2012-09-30 03:28:38 +0000
+++ b/lisp/ChangeLog 2012-09-30 03:30:25 +0000
@@ -1,5 +1,9 @@
2012-09-30 Stefan Monnier <address@hidden>
+ * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
+ chose face.
+ (log-edit-empty-buffer-p): Don't require a space after a header.
+
* vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
* tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
=== modified file 'lisp/vc/log-edit.el'
--- a/lisp/vc/log-edit.el 2012-09-24 12:31:24 +0000
+++ b/lisp/vc/log-edit.el 2012-09-30 03:30:25 +0000
@@ -343,14 +343,17 @@
`((log-edit-match-to-eoh
(,(concat "^\\(\\([[:alpha:]]+\\):\\)" log-edit-header-contents-regexp)
(progn (goto-char (match-beginning 0)) (match-end 0)) nil
- (1 (if (assoc (match-string 2) log-edit-headers-alist)
+ (1 (if (assoc-string (match-string 2) log-edit-headers-alist t)
'log-edit-header
'log-edit-unknown-header)
nil lax)
;; From `log-edit-header-contents-regexp':
- (3 (or (cdr (assoc (match-string 2) log-edit-headers-alist))
+ (3 (or (cdr (assoc-string (match-string 2) log-edit-headers-alist t))
'log-edit-header)
- nil lax)))))
+ nil lax))
+ ("^\n"
+ (progn (goto-char (match-end 0)) (1+ (match-end 0))) nil
+ (0 '(:height 0.1 :inverse-video t))))))
(defvar log-edit-font-lock-gnu-style nil
"If non-nil, highlight common failures to follow the GNU coding standards.")
@@ -574,7 +577,7 @@
(or (= (point-min) (point-max))
(save-excursion
(goto-char (point-min))
- (while (and (looking-at "^\\([a-zA-Z]+: \\)?$")
+ (while (and (looking-at "^\\([a-zA-Z]+: ?\\)?$")
(zerop (forward-line 1))))
(eobp))))
@@ -807,7 +810,7 @@
change-log-default-name)
;; `find-change-log' uses `change-log-default-name' if set
;; and sets it before exiting, so we need to work around
- ;; that memoizing which is undesired here
+ ;; that memoizing which is undesired here.
(setq change-log-default-name nil)
(find-change-log)))))
(with-current-buffer (find-file-noselect changelog-file-name)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r110266: * lisp/vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to,
Stefan Monnier <=