From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rusi Newsgroups: gmane.emacs.help Subject: Re: Possible to conditionally bind variable? Date: Thu, 11 Sep 2014 19:56:24 -0700 (PDT) Message-ID: References: <87lhpq8l8y.fsf@gmail.com> <87oaum5oql.fsf@geodiff-mac3.ulb.ac.be> <878ulq8h07.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1410490827 11458 80.91.229.3 (12 Sep 2014 03:00:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Sep 2014 03:00:27 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 12 05:00:22 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XSH5x-0006L5-Lh for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Sep 2014 05:00:21 +0200 Original-Received: from localhost ([::1]:42157 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XSH5x-00026t-B7 for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Sep 2014 23:00:21 -0400 X-Received: by 10.236.41.102 with SMTP id g66mr2801538yhb.15.1410490585352; Thu, 11 Sep 2014 19:56:25 -0700 (PDT) X-Received: by 10.50.43.196 with SMTP id y4mr99153igl.13.1410490585236; Thu, 11 Sep 2014 19:56:25 -0700 (PDT) Original-Path: usenet.stanford.edu!s7no189894qap.1!news-out.google.com!ef6ni2722igb.0!nntp.google.com!r10no509193igi.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=59.95.9.169; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui Original-NNTP-Posting-Host: 59.95.9.169 User-Agent: G2/1.0 Injection-Date: Fri, 12 Sep 2014 02:56:25 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:207566 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:99841 Archived-At: On Thursday, September 11, 2014 7:24:19 PM UTC+5:30, Nicolas Richard wrote: (Tory S. Anderson) writes: > > Wow! It works! > > So, I forgot the funcall my first time and it didn't work; it said > > "Symbol's function definition is void: my-switch-function". How do the > > funcalls fix it? I thought the first item in parens was automatically > > called as a function unless quoted? > (info "(elisp) Classifying Lists") and (info "(elisp) Symbol > Components") will help you somewhat. Also, more conceptually: http://en.wikipedia.org/wiki/Common_Lisp#The_function_namespace