From e0e5f0766cda897cb594ef7f1b1fedd7cdcea519 Mon Sep 17 00:00:00 2001 From: Lute Kamstra Date: Tue, 5 Apr 2005 23:19:34 +0000 Subject: (copyright-update-year): Replace the right subexpression. Suggested by Jay Bingham . --- lisp/emacs-lisp/copyright.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/emacs-lisp/copyright.el') diff --git a/lisp/emacs-lisp/copyright.el b/lisp/emacs-lisp/copyright.el index 0be9d139fd2..c2d3303c825 100644 --- a/lisp/emacs-lisp/copyright.el +++ b/lisp/emacs-lisp/copyright.el @@ -112,7 +112,7 @@ When this is `function', only ask when called non-interactively." (concat "Add " copyright-current-year " to copyright? ")))) (if replace - (replace-match copyright-current-year t t nil 1) + (replace-match copyright-current-year t t nil 2) (let ((size (save-excursion (skip-chars-backward "0-9")))) (if (and (eq (% (- (string-to-number copyright-current-year) (string-to-number (buffer-substring -- cgit v1.2.3