aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/emacs-lisp/copyright.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/copyright.el b/lisp/emacs-lisp/copyright.el
index 8527c68378b..e70f5771eac 100644
--- a/lisp/emacs-lisp/copyright.el
+++ b/lisp/emacs-lisp/copyright.el
@@ -1,6 +1,6 @@
1;;; upd-copyr.el --- update the copyright notice in a GNU Emacs Lisp file 1;;; upd-copyr.el --- update the copyright notice in a GNU Emacs Lisp file
2 2
3;;; Copyright (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc. 3;;; Copyright (C) 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
4 4
5;; Author: Roland McGrath <roland@gnu.ai.mit.edu> 5;; Author: Roland McGrath <roland@gnu.ai.mit.edu>
6;; Keywords: maint 6;; Keywords: maint
@@ -142,9 +142,7 @@ Put point there and hit \\[exit-recursive-edit]."))
142 (progn 142 (progn
143 (goto-char (match-beginning 1)) 143 (goto-char (match-beginning 1))
144 (delete-region (point) (match-end 1)) 144 (delete-region (point) (match-end 1))
145 (insert current-gpl-version)))) 145 (insert current-gpl-version))))))))))
146 (or ask-upd
147 (error "This buffer contains no copyright notice!"))))))))
148 146
149;;;###autoload 147;;;###autoload
150(defun ask-to-update-copyright () 148(defun ask-to-update-copyright ()