From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry Margolin Newsgroups: gmane.emacs.help Subject: Re: Meaning of the hash character Date: Thu, 20 Nov 2008 12:45:31 -0500 Organization: A noiseless patient Spider Message-ID: References: <15d554aa-7f1c-45e5-a26f-017bd6258140@d32g2000yqe.googlegroups.com> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1227206450 20378 80.91.229.12 (20 Nov 2008 18:40:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Nov 2008 18:40:50 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 20 19:41:53 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L3ETQ-0000vz-PN for geh-help-gnu-emacs@m.gmane.org; Thu, 20 Nov 2008 19:41:52 +0100 Original-Received: from localhost ([127.0.0.1]:41280 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L3ESH-0007OC-UN for geh-help-gnu-emacs@m.gmane.org; Thu, 20 Nov 2008 13:40:41 -0500 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!feeder.erje.net!news.motzarella.org!motzarella.org!news.motzarella.org!barmar Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-X-Trace: news.motzarella.org U2FsdGVkX1+eqZVSpjbVXXkFwm2rLeUc/QWUWyq/JELdjCrO3aYU2VViMTtlw5q5QCibv+N9uyAFFk7DYtVLvhxF6SJheFrwJuAaSAvLIRL+SmBsRsy6KTQCLG9YByeBcBylldI6h+I= Original-X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers Original-NNTP-Posting-Date: Thu, 20 Nov 2008 17:45:31 +0000 (UTC) X-Auth-Sender: U2FsdGVkX1+92PmrTkD1BrWlTBAQNkwpMv6+qsXhTfY= Cancel-Lock: sha1:sMVCCliLyGg7WIEMsbhinshd3S8= User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) Mail-Copies-To: nobody Original-Xref: news.stanford.edu gnu.emacs.help:164639 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:59975 Archived-At: In article <15d554aa-7f1c-45e5-a26f-017bd6258140@d32g2000yqe.googlegroups.com>, Nordlöw 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 ***