emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* "Symbol's value as variable is void: org-file-apps"
@ 2015-12-22  1:18 William Denton
  2015-12-22  2:39 ` Nick Dokos
  0 siblings, 1 reply; 2+ messages in thread
From: William Denton @ 2015-12-22  1:18 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: TEXT/PLAIN, Size: 711 bytes --]

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.

Bill
-- 
William Denton ↔  Toronto, Canada ↔  https://www.miskatonic.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: "Symbol's value as variable is void: org-file-apps"
  2015-12-22  1:18 "Symbol's value as variable is void: org-file-apps" William Denton
@ 2015-12-22  2:39 ` Nick Dokos
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Dokos @ 2015-12-22  2:39 UTC (permalink / raw)
  To: emacs-orgmode

William Denton <wtd@pobox.com> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-12-22  2:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-22  1:18 "Symbol's value as variable is void: org-file-apps" William Denton
2015-12-22  2:39 ` Nick Dokos

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).