aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/emacs-lisp/copyright.el
diff options
context:
space:
mode:
authorGerd Moellmann <[email protected]>2000-01-14 22:42:11 +0000
committerGerd Moellmann <[email protected]>2000-01-14 22:42:11 +0000
commitb3303df7ab109ec17cc54164f093a42cbd76f529 (patch)
tree578b2d7ca97136dc47aed3abba001ca33bc44a98 /lisp/emacs-lisp/copyright.el
parent99453a38a6ec17b5a77cada52498ecf7e3d25c3a (diff)
(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/copyright.el')
-rw-r--r--lisp/emacs-lisp/copyright.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/copyright.el b/lisp/emacs-lisp/copyright.el
index c4fd29cc64..8499b815df 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))