Mercurial > emacs
comparison lisp/emacs-lisp/copyright.el @ 112430:78c4c9559156
* lisp/emacs-lisp/copyright.el (copyright-fix-years): Use copyright-find-copyright.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Sat, 22 Jan 2011 14:13:17 -0800 |
parents | 6e50030da731 |
children | 7a578da192b9 |
comparison
equal
deleted
inserted
replaced
112429:6e50030da731 | 112430:78c4c9559156 |
---|---|
253 "Convert 2 digit years to 4 digit years. | 253 "Convert 2 digit years to 4 digit years. |
254 Uses heuristic: year >= 50 means 19xx, < 50 means 20xx." | 254 Uses heuristic: year >= 50 means 19xx, < 50 means 20xx." |
255 (interactive) | 255 (interactive) |
256 (widen) | 256 (widen) |
257 (goto-char (copyright-start-point)) | 257 (goto-char (copyright-start-point)) |
258 (if (copyright-re-search copyright-regexp (copyright-limit) t) | 258 (if (copyright-find-copyright) |
259 (let ((s (match-beginning 2)) | 259 (let ((s (match-beginning 2)) |
260 (e (copy-marker (1+ (match-end 2)))) | 260 (e (copy-marker (1+ (match-end 2)))) |
261 (p (make-marker)) | 261 (p (make-marker)) |
262 last) | 262 last) |
263 (goto-char s) | 263 (goto-char s) |