# HG changeset patch # User Glenn Morris # Date 1295734397 28800 # Node ID 78c4c9559156dc8c1cbdd9582ed79736f94845e5 # Parent 6e50030da7312f3731b92137692db8e7f6d9395b * lisp/emacs-lisp/copyright.el (copyright-fix-years): Use copyright-find-copyright. diff -r 6e50030da731 -r 78c4c9559156 lisp/ChangeLog --- 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 diff -r 6e50030da731 -r 78c4c9559156 lisp/emacs-lisp/copyright.el --- 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))