unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* I find a mistake in "introduction to emacs lisp" in emacs 23
@ 2009-07-02  1:33 waterloo
  0 siblings, 0 replies; 3+ messages in thread
From: waterloo @ 2009-07-02  1:33 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 137 bytes --]

In "kill-new function" of 8.3.1.

The critical lines are these:......
>
  (setq kill-ring (cons string kill-ring)) is needless .

thanks

[-- Attachment #2: Type: text/html, Size: 329 bytes --]

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

* Re: I find a mistake in "introduction to emacs lisp" in emacs 23
       [not found] <mailman.1671.1246508185.2239.help-gnu-emacs@gnu.org>
@ 2009-07-03  1:36 ` bolega
  2009-07-03 13:45   ` tyler
  0 siblings, 1 reply; 3+ messages in thread
From: bolega @ 2009-07-03  1:36 UTC (permalink / raw)
  To: help-gnu-emacs

On Jul 1, 6:33 pm, waterloo <waterloo2...@gmail.com> wrote:
> In "kill-new function" of 8.3.1.
>
> The critical lines are these:......
>
>   (setq kill-ring (cons string kill-ring)) is needless .
>
> thanks

Can anyone else confirm this ? and explain if it is a minor issue or a
major one ?


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

* Re: I find a mistake in "introduction to emacs lisp" in emacs 23
  2009-07-03  1:36 ` I find a mistake in "introduction to emacs lisp" in emacs 23 bolega
@ 2009-07-03 13:45   ` tyler
  0 siblings, 0 replies; 3+ messages in thread
From: tyler @ 2009-07-03 13:45 UTC (permalink / raw)
  To: help-gnu-emacs

bolega <gnuist006@gmail.com> writes:

> On Jul 1, 6:33 pm, waterloo <waterloo2...@gmail.com> wrote:
>> In "kill-new function" of 8.3.1.
>>
>> The critical lines are these:......
>>
>>   (setq kill-ring (cons string kill-ring)) is needless .
>>
>> thanks
>
> Can anyone else confirm this ? and explain if it is a minor issue or a
> major one ?
>

The actual node is:

(info "(eintr)kill-new function")

And it does look like the line above is incorrect. It does not appear in
the code for the kill-new function in simple.el, and from the
explanation in the info node, it sounds as if it serves the same purpose
as the preceding line:
     
    (push string kill-ring)

I guess the (push ...) function should have replaced the (setq ...)
function, but the (setq ...) never got deleted.

Cheers,

Tyler
-- 
Tired of spyware? Try Firefox:

www.firefox.com





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

end of thread, other threads:[~2009-07-03 13:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1671.1246508185.2239.help-gnu-emacs@gnu.org>
2009-07-03  1:36 ` I find a mistake in "introduction to emacs lisp" in emacs 23 bolega
2009-07-03 13:45   ` tyler
2009-07-02  1:33 waterloo

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).