From: Glenn Morris Date: Sat, 22 Jan 2011 22:13:17 +0000 (-0800) Subject: * lisp/emacs-lisp/copyright.el (copyright-fix-years): Use copyright-find-copyright. X-Git-Tag: emacs-pretest-24.0.90~104^2~618^2~1322^2~157 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d226ec23ec9d6fe1c4b9cb1d9b0520a3b402057e;p=emacs.git * lisp/emacs-lisp/copyright.el (copyright-fix-years): Use copyright-find-copyright. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a0640f7fbea..f027685ab5a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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 diff --git a/lisp/emacs-lisp/copyright.el b/lisp/emacs-lisp/copyright.el index 0d34675e023..a6a545ac57b 100644 --- a/lisp/emacs-lisp/copyright.el +++ b/lisp/emacs-lisp/copyright.el @@ -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))