Fix copyright.el comment and add a test
* lisp/emacs-lisp/copyright.el (copyright-find-copyright): Fix comment (bug#7179).
This commit is contained in:
parent
afd1fdf6bb
commit
8a343ecee5
2 changed files with 12 additions and 1 deletions
|
@ -150,7 +150,7 @@ This function sets the match data that `copyright-update-year' uses."
|
|||
(when (copyright-re-search regexp (copyright-limit) t)
|
||||
;; We may accidentally have landed in the middle of a
|
||||
;; copyright line, so re-perform the search without the
|
||||
;; search. (Otherwise we may be inserting the new year in the
|
||||
;; limit. (Otherwise we may be inserting the new year in the
|
||||
;; middle of the list of years.)
|
||||
(goto-char (match-beginning 0))
|
||||
(copyright-re-search regexp nil t)))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue