unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* Bug in copyright-update
@ 2005-04-05 22:34 Bingham, Jay
  2005-04-05 23:20 ` Lute Kamstra
  0 siblings, 1 reply; 2+ messages in thread
From: Bingham, Jay @ 2005-04-05 22:34 UTC (permalink / raw)


In Emacs 21.3 the documentation for copyright-update (in copyright.el)
states:
If optional prefix ARG is given replace the years in the notice rather
than adding the current year after them.

However his is not what occurs, instead the word copyright is deleted
and replaced with the current year.

The offending sexp is:
(delete-region (match-beginning 1) (match-end 1))

It should be:
(delete-region (match-beginning 2) (match-end 2))

-_
J_)
C_)ingham
.    HP - NonStop Austin DataBase Connectivity - Software Quality
Assurance
.    Austin, TX
. "Language is the apparel in which your thoughts parade in public.
.  Never clothe them in vulgar and shoddy attire."     -Dr. George W.
Crane-

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Bug in copyright-update
  2005-04-05 22:34 Bug in copyright-update Bingham, Jay
@ 2005-04-05 23:20 ` Lute Kamstra
  0 siblings, 0 replies; 2+ messages in thread
From: Lute Kamstra @ 2005-04-05 23:20 UTC (permalink / raw)
  Cc: bug-gnu-emacs

"Bingham, Jay" <jay.bingham@hp.com> writes:

> In Emacs 21.3 the documentation for copyright-update (in copyright.el)
> states:
> If optional prefix ARG is given replace the years in the notice rather
> than adding the current year after them.
>
> However his is not what occurs, instead the word copyright is deleted
> and replaced with the current year.
>
> The offending sexp is:
> (delete-region (match-beginning 1) (match-end 1))
>
> It should be:
> (delete-region (match-beginning 2) (match-end 2))

Thanks for your report.  I've fixed the problem in CVS Emacs.

Lute.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-04-05 23:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-05 22:34 Bug in copyright-update Bingham, Jay
2005-04-05 23:20 ` Lute Kamstra

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).