Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

I find a mistake in "introduction to emacs lisp" in emacs 23

2 views
Skip to first unread message

waterloo

unread,
Jul 1, 2009, 9:33:47 PM7/1/09
to help-gn...@gnu.org
In "kill-new function" of 8.3.1.

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

thanks

bolega

unread,
Jul 2, 2009, 9:36:19 PM7/2/09
to

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

tyler

unread,
Jul 3, 2009, 9:45:41 AM7/3/09
to help-gn...@gnu.org
bolega <gnui...@gmail.com> writes:

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

0 new messages