unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#7154: Documentation: `load-history' entries of the form `atom'
@ 2010-10-03 17:43 MON KEY
  2011-07-02 16:19 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: MON KEY @ 2010-10-03 17:43 UTC (permalink / raw)
  To: 7154

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\





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#7154: Documentation: `load-history' entries of the form `atom'
  2010-10-03 17:43 bug#7154: Documentation: `load-history' entries of the form `atom' MON KEY
@ 2011-07-02 16:19 ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-07-02 16:19 UTC (permalink / raw)
  To: MON KEY; +Cc: 7154

MON KEY <monkey@sandpframing.com> writes:

> 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.

This is now fixed.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-07-02 16:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-03 17:43 bug#7154: Documentation: `load-history' entries of the form `atom' MON KEY
2011-07-02 16:19 ` Lars Magne Ingebrigtsen

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).