]> git.eshelyaron.com Git - emacs.git/commitdiff
(copyright-update-year): Fix braino.
authorJuanma Barranquero <lekktu@gmail.com>
Tue, 8 Apr 2008 11:45:19 +0000 (11:45 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Tue, 8 Apr 2008 11:45:19 +0000 (11:45 +0000)
lisp/emacs-lisp/copyright.el

index 345a76a22d1a58a2b8c75b0f01ef6c9eba300a5b..d745a245e8e326c3db99e654c947066d3aae4a49 100644 (file)
@@ -113,9 +113,9 @@ When this is `function', only ask when called non-interactively."
                  (progn (forward-char 1) t)
                  (progn (skip-chars-forward " \t") (eolp))
                  comment-start-skip
-                 (progn
+                 (save-match-data
                    (forward-line 1)
-                   (and (looking-at-p comment-start-skip)
+                   (and (looking-at comment-start-skip)
                         (goto-char (match-end 0))))
                  (looking-at-p copyright-years-regexp)))
       (forward-line 1)