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:
parent
3e9558aeaf
commit
3e64e15047
1 changed files with 2 additions and 4 deletions
|
|
@ -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 ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue