summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/copyright.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-01-26 14:53:07 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2022-01-26 15:03:33 +0100
commited18d08f6f3041e6fd1806690c24ca6b31deab2d (patch)
tree32d36faf977c6d2f268a613b625c89f66c767dca /lisp/emacs-lisp/copyright.el
parent7eca80b20444f7bd7bcb6a66a9054e029f0e7013 (diff)
downloademacs-ed18d08f6f3041e6fd1806690c24ca6b31deab2d.tar.gz
emacs-ed18d08f6f3041e6fd1806690c24ca6b31deab2d.tar.bz2
emacs-ed18d08f6f3041e6fd1806690c24ca6b31deab2d.zip
Fix copyright.el comment and add a test
* lisp/emacs-lisp/copyright.el (copyright-find-copyright): Fix comment (bug#7179). Do not merge to master.
Diffstat (limited to 'lisp/emacs-lisp/copyright.el')
-rw-r--r--lisp/emacs-lisp/copyright.el2
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)))))