From: "Drew Adams" <drew.adams@oracle.com>
To: "'Kevin Rodgers'" <kevin.d.rodgers@gmail.com>, <emacs-devel@gnu.org>
Subject: RE: remove-hook creates a symbol if it doesn't exist
Date: Tue, 21 Oct 2008 19:54:25 -0700 [thread overview]
Message-ID: <002101c933f1$7e6a7250$0200a8c0@us.oracle.com> (raw)
In-Reply-To: <gdm4a2$lo2$2@ger.gmane.org>
> > The function remove-hook creates a symbol if its HOOK arg
> > doesn't exist as such:
> >
> > (remove-hook 'non-existent-hook 'some-function)
> >
> > ,-----[ C-h v non-existent-hook RET ]
> > | non-existent-hook's value is nil
> > |
> > | Documentation:
> > | Not documented as a variable.
> > |
> > | [back]
> > `-----
>
> Actually, the read function interned the symbol.
`read', on its own, doesn't assign a value. It interns a name, creating a
symbol, but it doesn't give it a nil value.
next prev parent reply other threads:[~2008-10-22 2:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-21 18:26 remove-hook creates a symbol if it doesn't exist Seb
2008-10-21 22:13 ` Stefan Monnier
2008-10-22 2:48 ` Kevin Rodgers
2008-10-22 2:54 ` Drew Adams [this message]
2008-10-24 3:12 ` Kevin Rodgers
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='002101c933f1$7e6a7250$0200a8c0@us.oracle.com' \
--to=drew.adams@oracle.com \
--cc=emacs-devel@gnu.org \
--cc=kevin.d.rodgers@gmail.com \
/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 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).