summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
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 14:53:07 +0100
commit8a343ecee543faeb1be1e7e9de5f3163209f4da6 (patch)
treeebb598128186067220d204e8192fdfbd066aa5bf /lisp/emacs-lisp
parentafd1fdf6bb85600e6d7fafcdbff367c0f964a576 (diff)
downloademacs-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.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)))))