1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(update-copyright): Remove gratuitous error at end.

This commit is contained in:
Roland McGrath 1995-01-21 13:59:06 +00:00
parent 3e9558aeaf
commit 3e64e15047

View file

@ -1,6 +1,6 @@
;;; upd-copyr.el --- update the copyright notice in a GNU Emacs Lisp file
;;; Copyright (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
;;; Copyright (C) 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
;; Author: Roland McGrath <roland@gnu.ai.mit.edu>
;; Keywords: maint
@ -142,9 +142,7 @@ Put point there and hit \\[exit-recursive-edit]."))
(progn
(goto-char (match-beginning 1))
(delete-region (point) (match-end 1))
(insert current-gpl-version))))
(or ask-upd
(error "This buffer contains no copyright notice!"))))))))
(insert current-gpl-version))))))))))
;;;###autoload
(defun ask-to-update-copyright ()