2011-03-30 Jason Merrill * add-log.el (add-change-log-entry): Don't use whitespace syntax class to search for whitespace on a single line. *** add-log.el.~1~ 2011-03-30 15:02:21.143716165 -0400 --- add-log.el 2011-03-30 15:02:53.717952332 -0400 *************** non-nil, otherwise in local time." *** 880,886 **** (point)))) ;; Now insert the new line for this item. ! (cond ((re-search-forward "^\\s *\\*\\s *$" bound t) ;; Put this file name into the existing empty item. (if item (insert item))) --- 880,886 ---- (point)))) ;; Now insert the new line for this item. ! (cond ((re-search-forward "^\\s *\\* *$" bound t) ;; Put this file name into the existing empty item. (if item (insert item))) *************** non-nil, otherwise in local time." *** 922,928 **** ;; 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 *\\)?$")) (insert ": ") (if version (insert version ?\s))) ;; Make it easy to get rid of the function name. --- 922,928 ---- ;; No function name, so put in a colon unless we have just a star. (unless (save-excursion (beginning-of-line 1) ! (looking-at "\\s *\\(\\* *\\)?$")) (insert ": ") (if version (insert version ?\s))) ;; Make it easy to get rid of the function name.