GNU bug report logs - #9393
24.0.50; Tiny bug in info node "(elisp)Building Lists"

Previous Next

Package: emacs;

Reported by: Dani Moncayo <dmoncayo <at> gmail.com>

Date: Sun, 28 Aug 2011 13:33:02 UTC

Severity: minor

Tags: patch

Found in version 24.0.50

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dani Moncayo <dmoncayo <at> gmail.com>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: 9393 <at> debbugs.gnu.org
Subject: bug#9393: 24.0.50; Typo in Elisp manual
Date: Sat, 3 Sep 2011 09:33:43 +0200
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




This bug report was last modified 13 years and 317 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.