emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: "Symbol's value as variable is void: org-file-apps"
Date: Mon, 21 Dec 2015 21:39:55 -0500	[thread overview]
Message-ID: <87twnbqk90.fsf@pierrot.dokosmarshall.org> (raw)
In-Reply-To: alpine.DEB.2.02.1512212005410.13931@shell.miskatonic.org

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

      reply	other threads:[~2015-12-22  2:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-22  1:18 "Symbol's value as variable is void: org-file-apps" William Denton
2015-12-22  2:39 ` Nick Dokos [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87twnbqk90.fsf@pierrot.dokosmarshall.org \
    --to=ndokos@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).