summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2011-01-25 00:36:34 -0800
committerGlenn Morris <rgm@gnu.org>2011-01-25 00:36:34 -0800
commit0fe719e691955e8e4a7f5bc74ed981b2e8ca17ce (patch)
treee51b35f061a107899cfb14205c424067f53d846e /etc
parentd0cb866238b3a7ab811ed666d21e8bd97f6f3b41 (diff)
downloademacs-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/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index f301dc8509d..0a12a122d27 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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