diff options
author | Glenn Morris <rgm@gnu.org> | 2011-01-25 00:36:34 -0800 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2011-01-25 00:36:34 -0800 |
commit | 0fe719e691955e8e4a7f5bc74ed981b2e8ca17ce (patch) | |
tree | e51b35f061a107899cfb14205c424067f53d846e /etc | |
parent | d0cb866238b3a7ab811ed666d21e8bd97f6f3b41 (diff) | |
download | emacs-0fe719e691955e8e4a7f5bc74ed981b2e8ca17ce.tar.gz |
copyright.el updates.
* lisp/emacs-lisp/copyright.el (copyright-at-end-flag)
(copyright-names-regexp): Add safety properties.
(copyright-year-ranges): New option.
(copyright-find-end): New function, split from copyright-update-year.
(copyright-update-year): Use copyright-find-end.
(copyright-fix-years): Optionally, convert years to ranges.
Handle years continued over comment lines.
Do not mess with the fill-prefix.
Do not call copyright-update.
(copyright-update-directory): Optionally, fix years rather than update.
Skip directories. Find files literally, with only safe local vars.
* etc/NEWS: Mention copyright-fix-years and ranges.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -607,6 +607,11 @@ means to prompt the user for command specifics, e.g. a merge location. **** Currently supported by Bzr. +** Miscellaneous + +--- +*** `copyright-fix-years' can optionally convert consecutive years to ranges. + * New Modes and Packages in Emacs 24.1 |