diff options
author | Gerd Moellmann <gerd@gnu.org> | 2000-01-14 22:42:11 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2000-01-14 22:42:11 +0000 |
commit | b3303df7ab109ec17cc54164f093a42cbd76f529 (patch) | |
tree | 578b2d7ca97136dc47aed3abba001ca33bc44a98 /lisp/emacs-lisp | |
parent | 99453a38a6ec17b5a77cada52498ecf7e3d25c3a (diff) | |
download | emacs-b3303df7ab109ec17cc54164f093a42cbd76f529.tar.gz emacs-b3303df7ab109ec17cc54164f093a42cbd76f529.tar.bz2 emacs-b3303df7ab109ec17cc54164f093a42cbd76f529.zip |
(copyright-update): Removed the
requirement for a trailing space from `copyright-regexp', to
support copyrights with owner specified on a separate line..
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/copyright.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/copyright.el b/lisp/emacs-lisp/copyright.el index c4fd29cc64c..8499b815df1 100644 --- a/lisp/emacs-lisp/copyright.el +++ b/lisp/emacs-lisp/copyright.el @@ -45,7 +45,7 @@ (defcustom copyright-regexp "\\([\251]\\|@copyright{}\\|[Cc]opyright\\s *:?\\s *(C)\ \\|[Cc]opyright\\s *:?\\s *[\251]\\)\ -\\s *\\([1-9][-0-9, ']*[0-9]+\\) " +\\s *\\([1-9][-0-9, ']*[0-9]+\\)" "*What your copyright notice looks like. The second \\( \\) construct must match the years." :group 'copyright @@ -88,7 +88,6 @@ copyright, if any, are updated as well." (if (string= (buffer-substring (- (match-end 2) 2) (match-end 2)) (substring copyright-current-year -2)) () - (backward-char 1) (if (or (not copyright-query) (and (eq copyright-query 'function) (eq this-command 'copyright-update)) |