]> git.eshelyaron.com Git - emacs.git/commitdiff
* 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 a0640f7fbeae04f99f6849070595bd770bd6f6d3..f027685ab5afc9b783ef0735969dc85fb7be9a80 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 0d34675e023132fbc82461be2831362ae8f1b775..a6a545ac57be84c379c551450e436e6e25c29efd 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))