diff options
author | Glenn Morris <rgm@gnu.org> | 2011-01-22 14:13:17 -0800 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2011-01-22 14:13:17 -0800 |
commit | d226ec23ec9d6fe1c4b9cb1d9b0520a3b402057e (patch) | |
tree | d3f846f1896932e450092876d0879faf591f6fdb | |
parent | 0412a5a4de40b78853e3985ce277f2f432ee88a6 (diff) | |
download | emacs-d226ec23ec9d6fe1c4b9cb1d9b0520a3b402057e.tar.gz |
* lisp/emacs-lisp/copyright.el (copyright-fix-years): Use copyright-find-copyright.
-rw-r--r-- | lisp/ChangeLog | 1 | ||||
-rw-r--r-- | lisp/emacs-lisp/copyright.el | 2 |
2 files changed, 2 insertions, 1 deletions
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 <cyd@stupidchicken.com> 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)) |