[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] how to use the git repository to obtain the latestaucTeX??
From: |
Joost Kremers |
Subject: |
Re: [AUCTeX] how to use the git repository to obtain the latestaucTeX?? |
Date: |
Fri, 30 Aug 2013 15:24:16 +0200 |
User-agent: |
mu4e 0.9.9.5; emacs 24.3.50.1 |
On Fri, Aug 30 2013, address@hidden wrote:
> Tassilo Horn <address@hidden> writes:
>> (add-to-list 'Info-directory-list "~/code/auctex/doc")
>
> TL;DR
> Use:
> (require 'info) ; unless already require'd earlier
> (add-to-list 'Info-additional-directory-list "~/code/auctex/doc")
I'd suggest using Customize.
> Longer version
> From what I understand (and I spent a lot of time trying to grasp these
> things at some point), what you suggest is ok if Info-directory-list is
> already initialized (exists and is non-nil), which is usually not the
> case while reading .emacs.
That's why Customize exists. (Well, one of the reasons, at least.)
> At best it will produce an error (if info was
> not yet loaded), or it will produce no error but the variable won't get
> filled properly with system-wide info dirs (only those explicitly added
> with a line like above). That's at least what I see with a recent emacs.
> Also, it is a defvar, not a defcustom,
Actually, Info-additional-directory-list is a defcustom. At least in the
Emacs version I'm running (24.3.50.1).
--
Joost Kremers
Life has its moments