all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: MON KEY <monkey@sandpframing.com>
To: 7154@debbugs.gnu.org
Subject: bug#7154: Documentation: `load-history' entries of the form `atom'
Date: Sun, 3 Oct 2010 13:43:44 -0400	[thread overview]
Message-ID: <AANLkTim0E_rXYQBDEk2=TwuovcJfirU0EkfCPL1fTVKM@mail.gmail.com> (raw)

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\





             reply	other threads:[~2010-10-03 17:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-03 17:43 MON KEY [this message]
2011-07-02 16:19 ` bug#7154: Documentation: `load-history' entries of the form `atom' Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTim0E_rXYQBDEk2=TwuovcJfirU0EkfCPL1fTVKM@mail.gmail.com' \
    --to=monkey@sandpframing.com \
    --cc=7154@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.