summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2011-01-22 14:13:17 -0800
committerGlenn Morris <rgm@gnu.org>2011-01-22 14:13:17 -0800
commitd226ec23ec9d6fe1c4b9cb1d9b0520a3b402057e (patch)
treed3f846f1896932e450092876d0879faf591f6fdb /lisp/emacs-lisp
parent0412a5a4de40b78853e3985ce277f2f432ee88a6 (diff)
downloademacs-d226ec23ec9d6fe1c4b9cb1d9b0520a3b402057e.tar.gz
emacs-d226ec23ec9d6fe1c4b9cb1d9b0520a3b402057e.tar.bz2
emacs-d226ec23ec9d6fe1c4b9cb1d9b0520a3b402057e.zip
* lisp/emacs-lisp/copyright.el (copyright-fix-years): Use copyright-find-copyright.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/copyright.el2
1 files changed, 1 insertions, 1 deletions
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))