Commit f3e4086c authored by Jason Merrill's avatar Jason Merrill Committed by Stefan Monnier
Browse files

* 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>).
parent 44f230aa
2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
* 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>).
2011-03-30 Leo Liu <sdl.web@gmail.com>
 
* abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
......
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment