diff options
| author | Roland McGrath | 1995-01-21 13:59:06 +0000 |
|---|---|---|
| committer | Roland McGrath | 1995-01-21 13:59:06 +0000 |
| commit | 3e64e15047fe32584184a6ac8fca512f65ca5d78 (patch) | |
| tree | ca5c642b4201373e605c0572a684887b6866e81b | |
| parent | 3e9558aeaf053a463e9ba42093d89148078e5986 (diff) | |
| download | emacs-3e64e15047fe32584184a6ac8fca512f65ca5d78.tar.gz emacs-3e64e15047fe32584184a6ac8fca512f65ca5d78.zip | |
(update-copyright): Remove gratuitous error at end.
| -rw-r--r-- | lisp/emacs-lisp/copyright.el | 6 |
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 () |