From: Nikolaj Schumacher <me@nschum.de>
To: Nordlöw <per.nordlow@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Meaning of the hash character
Date: Thu, 20 Nov 2008 21:39:24 +0100 [thread overview]
Message-ID: <m2tza2yvwj.fsf@nschum.de> (raw)
In-Reply-To: <15d554aa-7f1c-45e5-a26f-017bd6258140@d32g2000yqe.googlegroups.com> ("Nordlöw"'s message of "Thu\, 20 Nov 2008 05\:35\:07 -0800 \(PST\)")
Nordlöw <per.nordlow@gmail.com> wrote:
> I have long wondered about the meaning of the hash character # in
> emacs lisp.
>
> Here is an example taken from hl-line.el
> (add-hook 'change-major-mode-hook #'hl-line-unhighlight nil t)
>
> What effect does it have?
From the manual:
We sometimes write `function' instead of `quote' when quoting the name
of a function, but this usage is just a sort of comment:
(function SYMBOL) == (quote SYMBOL) == 'SYMBOL
The read syntax `#'' is a short-hand for using `function'.
regards,
Nikolaj Schumacher
prev parent reply other threads:[~2008-11-20 20:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-20 13:35 Meaning of the hash character Nordlöw
2008-11-20 14:16 ` Juanma Barranquero
2008-11-20 17:45 ` Barry Margolin
2008-11-20 20:39 ` Nikolaj Schumacher [this message]
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=m2tza2yvwj.fsf@nschum.de \
--to=me@nschum.de \
--cc=help-gnu-emacs@gnu.org \
--cc=per.nordlow@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 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.