changeset 61330:f6862f0984bc

(copyright-update-year): Replace the right subexpression. Suggested by Jay Bingham <jay.bingham@hp.com>.
author Lute Kamstra <lute@gnu.org>
date Tue, 05 Apr 2005 23:18:35 +0000
parents 8ae0d0d699fb
children 3ceb753dcfb7
files lisp/emacs-lisp/copyright.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/copyright.el	Tue Apr 05 20:59:55 2005 +0000
+++ b/lisp/emacs-lisp/copyright.el	Tue Apr 05 23:18:35 2005 +0000
@@ -112,7 +112,7 @@
 			  (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