unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dani Moncayo <dmoncayo@gmail.com>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: 9393@debbugs.gnu.org
Subject: bug#9393: 24.0.50; Typo in Elisp manual
Date: Sat, 3 Sep 2011 09:33:43 +0200	[thread overview]
Message-ID: <CAH8Pv0j=atsenus15Zuexh0yL3NGYiUcUfKimtMWdkY6CuUdLA@mail.gmail.com> (raw)
In-Reply-To: <CAH8Pv0jf+LPoi__usjJD5=GNimp-eT=imeSZoeRr6HKUfBJ-Yw@mail.gmail.com>

I think I've found another typo in node "(elisp)Sets And Lists":


=== modified file 'doc/lispref/lists.texi'
--- doc/lispref/lists.texi      2011-05-29 22:41:06 +0000
+++ doc/lispref/lists.texi      2011-08-29 15:45:15 +0000
@@ -1454,7 +1454,7 @@
 l
      @result{} ((2) (1))
 ;; @r{If you want to change @code{l} reliably,}
-;; @r{write @code{(setq l (delete elt l))}.}
+;; @r{write @code{(setq l (delete '(2) l))}.}
 @end group
 @group
 (setq l '((2) (1) (2)))


In the example at hand `elt' is unknown, so that `(setq l (delete elt
l))' has no sense and raises an error.

-- 
Dani Moncayo





  parent reply	other threads:[~2011-09-03  7:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-28 13:29 bug#9393: 24.0.50; Tiny bug in info node "(elisp)Building Lists" Dani Moncayo
2011-08-28 13:45 ` Dani Moncayo
2011-08-28 19:08   ` Chong Yidong
2011-09-03  7:33 ` Dani Moncayo [this message]
2011-09-14  6:53   ` bug#9393: 24.0.50; Typo in Elisp manual Glenn Morris
2011-10-02  9:04   ` Dani Moncayo
2011-10-02 18:21     ` Glenn Morris
2011-10-03  6:28       ` Dani Moncayo

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='CAH8Pv0j=atsenus15Zuexh0yL3NGYiUcUfKimtMWdkY6CuUdLA@mail.gmail.com' \
    --to=dmoncayo@gmail.com \
    --cc=9393@debbugs.gnu.org \
    --cc=cyd@stupidchicken.com \
    /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 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).