changeset 93852:cb8d5a37e8ef

(copyright-update-year): Fix braino.
author Juanma Barranquero <lekktu@gmail.com>
date Tue, 08 Apr 2008 11:45:19 +0000
parents e98f4483662f
children 8fc3183d5a63
files lisp/emacs-lisp/copyright.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/copyright.el	Tue Apr 08 11:40:04 2008 +0000
+++ b/lisp/emacs-lisp/copyright.el	Tue Apr 08 11:45:19 2008 +0000
@@ -113,9 +113,9 @@
 		  (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)