all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: tyler <tyler.smith@mail.mcgill.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: I find a mistake in "introduction to emacs lisp" in emacs 23
Date: Fri, 03 Jul 2009 10:45:41 -0300	[thread overview]
Message-ID: <87bpo1swvu.fsf@blackbart.sedgenet> (raw)
In-Reply-To: 9615a48f-ab54-433b-8757-bed38f4fbbaf@24g2000yqm.googlegroups.com

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





  reply	other threads:[~2009-07-03 13:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 [this message]
2009-07-02  1:33 waterloo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bpo1swvu.fsf@blackbart.sedgenet \
    --to=tyler.smith@mail.mcgill.ca \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.