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: 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 
<15d554aa-7f1c-45e5-a26f-017bd6258140@d32g2000yqe.googlegroups.com>,
 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?
> 
> /Nordlöw

#' is to 'function' as ' is to 'quote', i.e.

'foo ==> (quote foo)
#'foo ==> (function foo)

-- 
Barry Margolin, barmar@alum.mit.edu
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 ***


reply via email to

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