diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2022-01-26 14:53:07 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-01-26 14:53:07 +0100 |
commit | 8a343ecee543faeb1be1e7e9de5f3163209f4da6 (patch) | |
tree | ebb598128186067220d204e8192fdfbd066aa5bf /lisp/emacs-lisp | |
parent | afd1fdf6bb85600e6d7fafcdbff367c0f964a576 (diff) | |
download | emacs-8a343ecee543faeb1be1e7e9de5f3163209f4da6.tar.gz emacs-8a343ecee543faeb1be1e7e9de5f3163209f4da6.tar.bz2 emacs-8a343ecee543faeb1be1e7e9de5f3163209f4da6.zip |
Fix copyright.el comment and add a test
* lisp/emacs-lisp/copyright.el (copyright-find-copyright): Fix
comment (bug#7179).
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/copyright.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/copyright.el b/lisp/emacs-lisp/copyright.el index 09c6ded2950..23b90808d90 100644 --- a/lisp/emacs-lisp/copyright.el +++ b/lisp/emacs-lisp/copyright.el @@ -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))))) |