changeset 112430:78c4c9559156

* lisp/emacs-lisp/copyright.el (copyright-fix-years): Use copyright-find-copyright.
author Glenn Morris <rgm@gnu.org>
date Sat, 22 Jan 2011 14:13:17 -0800
parents 6e50030da731
children 7a578da192b9
files lisp/ChangeLog lisp/emacs-lisp/copyright.el
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sat Jan 22 14:09:09 2011 -0800
+++ b/lisp/ChangeLog	Sat Jan 22 14:13:17 2011 -0800
@@ -5,6 +5,7 @@
 	(copyright-update): Don't mess with the GPL version if we don't own the
 	copyright.  Update license regexp, and remove no longer needed
 	Esperanto stuff.
+	(copyright-fix-years): Use copyright-find-copyright.
 
 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
 
--- a/lisp/emacs-lisp/copyright.el	Sat Jan 22 14:09:09 2011 -0800
+++ b/lisp/emacs-lisp/copyright.el	Sat Jan 22 14:13:17 2011 -0800
@@ -255,7 +255,7 @@
   (interactive)
   (widen)
   (goto-char (copyright-start-point))
-  (if (copyright-re-search copyright-regexp (copyright-limit) t)
+  (if (copyright-find-copyright)
       (let ((s (match-beginning 2))
 	    (e (copy-marker (1+ (match-end 2))))
 	    (p (make-marker))