From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: "Symbol's value as variable is void: org-file-apps" Date: Mon, 21 Dec 2015 21:39:55 -0500 Message-ID: <87twnbqk90.fsf@pierrot.dokosmarshall.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42279) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBCrw-0000nU-Nc for emacs-orgmode@gnu.org; Mon, 21 Dec 2015 21:40:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aBCrt-0004ZE-HX for emacs-orgmode@gnu.org; Mon, 21 Dec 2015 21:40:08 -0500 Received: from plane.gmane.org ([80.91.229.3]:36856) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBCrt-0004YN-Az for emacs-orgmode@gnu.org; Mon, 21 Dec 2015 21:40:05 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aBCrr-0002Np-28 for emacs-orgmode@gnu.org; Tue, 22 Dec 2015 03:40:03 +0100 Received: from pool-74-104-158-160.bstnma.fios.verizon.net ([74.104.158.160]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Dec 2015 03:40:03 +0100 Received: from ndokos by pool-74-104-158-160.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Dec 2015 03:40:03 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org William Denton writes: > After compiling from a fresh pull from Git today, setting > org-file-apps is causing problems. I have this so make Org exports to > PDF open in evince instead of Emacs's built-in docview: > > (delete '("\\.pdf\\'" . default) org-file-apps) > (add-to-list 'org-file-apps '("\\.pdf\\'" . "evince %s")) > > This was fine last week, but today, on startup, either line causes this error: > > Symbol's value as variable is void: org-file-apps > > If I C-x C-e those two lines after startup has halted, there are no complaints. > > Did something about this variable change? I had a bit of a look but > didn't see what could have caused it. > You probably have the initialization of the variable too early in your initialization file. Make sure that you initialize it *after* org is loaded. -- Nick