help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Meaning of the hash character


From: Nikolaj Schumacher
Subject: Re: Meaning of the hash character
Date: Thu, 20 Nov 2008 21:39:24 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2.50 (darwin)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]