From d226ec23ec9d6fe1c4b9cb1d9b0520a3b402057e Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 22 Jan 2011 14:13:17 -0800 Subject: [PATCH] * lisp/emacs-lisp/copyright.el (copyright-fix-years): Use copyright-find-copyright. --- lisp/ChangeLog | 1 + lisp/emacs-lisp/copyright.el | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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)) -- 2.39.5