* lisp/emacs-lisp/copyright.el (copyright-fix-years): Use copyright-find-copyright.
authorGlenn Morris <rgm@gnu.org>
Sat, 22 Jan 2011 22:13:17 +0000 (14:13 -0800)
committerGlenn Morris <rgm@gnu.org>
Sat, 22 Jan 2011 22:13:17 +0000 (14:13 -0800)
lisp/ChangeLog
lisp/emacs-lisp/copyright.el

index a0640f7..f027685 100644 (file)
@@ -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>
 
index 0d34675..a6a545a 100644 (file)
@@ -255,7 +255,7 @@ Uses heuristic: year >= 50 means 19xx, < 50 means 20xx."
   (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))