GNU bug report logs - #21589
24.5; contradiction in info

Previous Next

Package: emacs;

Reported by: Gary <gary <at> boltav.plus.com>

Date: Tue, 29 Sep 2015 22:04:01 UTC

Severity: minor

Tags: fixed

Found in version 24.5

Fixed in version 25.1

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Noam Postavsky <npostavs <at> users.sourceforge.net>
To: 21589 <at> debbugs.gnu.org
Cc: Gary <gary <at> boltav.plus.com>, Glenn Morris <rgm <at> gnu.org>
Subject: bug#21589: 24.5; contradiction in info
Date: Sun, 26 Jun 2016 23:53:06 -0400
> thanks for your quick reply.  I see what you mean, the append is
> further down and I was looking at the code following this comment
> where it says 'append' (line 3 below) and then uses cons (line 6).

So it seems like the problem is just that the comment is wrong?
(clearly that not code is not appending, the new item is being added
at the front)

diff --git a/doc/lispintro/emacs-lisp-intro.texi
b/doc/lispintro/emacs-lisp-intro.texi
index 10162b3..86c8da0 100644
--- a/doc/lispintro/emacs-lisp-intro.texi
+++ b/doc/lispintro/emacs-lisp-intro.texi
@@ -15465,7 +15465,7 @@ Files List
 @group
       (cond
        ;; check to see whether filename ends in '.el'
-       ;; and if so, append its name to a list.
+       ;; and if so, add its name to a list.
        ((equal ".el" (substring (car (car current-directory-list)) -3))
         (setq el-files-list
               (cons (car (car current-directory-list)) el-files-list)))




This bug report was last modified 8 years and 360 days ago.

Previous Next


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