[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Meaning of the hash character
|
From: |
Barry Margolin |
|
Subject: |
Re: Meaning of the hash character |
|
Date: |
Thu, 20 Nov 2008 12:45:31 -0500 |
|
User-agent: |
MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) |
In article
<address@hidden>,
Nordlöw <address@hidden> 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?
>
> /Nordlöw
#' is to 'function' as ' is to 'quote', i.e.
'foo ==> (quote foo)
#'foo ==> (function foo)
--
Barry Margolin, address@hidden
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***