summaryrefslogtreecommitdiff
path: root/lisp/vc/add-log.el
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2011-03-30 17:56:04 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2011-03-30 17:56:04 -0400
commitf3e4086c9ddb2df447907aaf8fc403426b724408 (patch)
tree995956765615b869b3071626b9760b1f35f0e787 /lisp/vc/add-log.el
parent44f230aa043ebb222aa0876b44d70484d5dd38db (diff)
downloademacs-f3e4086c9ddb2df447907aaf8fc403426b724408.tar.gz
* lisp/vc/add-log.el (add-change-log-entry): Don't use whitespace
syntax class to search for whitespace on a single line (Message-ID: <4D938140.4030905@redhat.com>).
Diffstat (limited to 'lisp/vc/add-log.el')
-rw-r--r--lisp/vc/add-log.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/vc/add-log.el b/lisp/vc/add-log.el
index d75fcb5f4f1..e9fbdb91e97 100644
--- a/lisp/vc/add-log.el
+++ b/lisp/vc/add-log.el
@@ -886,7 +886,7 @@ non-nil, otherwise in local time."
(point))))
;; Now insert the new line for this item.
- (cond ((re-search-forward "^\\s *\\*\\s *$" bound t)
+ (cond ((re-search-forward "^\\s *\\* *$" bound t)
;; Put this file name into the existing empty item.
(if item
(insert item)))
@@ -928,7 +928,7 @@ non-nil, otherwise in local time."
;; No function name, so put in a colon unless we have just a star.
(unless (save-excursion
(beginning-of-line 1)
- (looking-at "\\s *\\(\\*\\s *\\)?$"))
+ (looking-at "\\s *\\(\\* *\\)?$"))
(insert ": ")
(if version (insert version ?\s)))
;; Make it easy to get rid of the function name.