Commit d226ec23 authored by Glenn Morris's avatar Glenn Morris
Browse files

* lisp/emacs-lisp/copyright.el (copyright-fix-years): Use copyright-find-copyright.

parent 0412a5a4
......@@ -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>
 
......
......@@ -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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment