GNU bug report logs - #7154
Documentation: `load-history' entries of the form `atom'

Previous Next

Package: emacs;

Reported by: MON KEY <monkey <at> sandpframing.com>

Date: Sun, 3 Oct 2010 17:41:02 UTC

Severity: minor

Tags: fixed

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: MON KEY <monkey <at> sandpframing.com>
To: 7154 <at> debbugs.gnu.org
Subject: bug#7154: Documentation: `load-history' entries of the form `atom'
Date: Sun, 3 Oct 2010 13:43:44 -0400
current with bzr revision 101767

Documentation of `load-history' does not mention that in addition to
the cons forms which occur in the cdr position of each alist element
an entry may also be an atomic symbol.

,---- (documentation 'load-history)
|
| { ... }
|
| Each entry has the form `(provide . FEATURE)',
| (require . FEATURE)', `(defun . FUNCTION)', `(autoload . SYMBOL)',
| (defface . SYMBOL)', or `(t . SYMBOL)'.
|
| { ... }
|
`----

The above statement is incorrect.
An entry may also be an atom of the type:

 <SYMBOL>

This format occurs for `defvar'd and `defconst'd forms provided by a
feature.  For example:

(memq 'Info-menu-entry-name-re
                 (load-history-filename-element "info"))

(atom (car (memq 'Info-menu-entry-name-re
                 (load-history-filename-element "info"))))

(consp (cadr (memq 'Info-menu-entry-name-re
                 (load-history-filename-element "info"))))


--
/s_P\




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

Previous Next


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