bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9393: 24.0.50; Typo in Elisp manual


From: Dani Moncayo
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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]