[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] help with auctex
From: |
jfbu |
Subject: |
Re: [AUCTeX] help with auctex |
Date: |
Mon, 17 Oct 2016 17:17:45 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 |
Le 17/10/2016 à 16:39, Jorge A. Alfaro-Murillo a écrit :
> Hi, François.
>
> François Patte writes:
>
>> 1- How does emacs know the new path to auctex-11.89.5 as nothing has changed
>> in my .emacs file ((add-to-list 'load-path "~/.emacs.d/elpa/auctex-11.88.6")
>> is still there but emacs uses now: ~/.emacs.d/elpa/auctex-11.89.5/)
>
> Probably package-initialize is called in your init file after that
> add-to-list. If you do not a call to package-initialize in your init file, it
> gets added to it automatically by package.el.
Just a side note: I find this a bit bad, because in my case I have an .emacs
which is used as a dispatch depending on the version of Emacs in use. Hence the
forcefully added package-initialize needed to be manually corrected for use
only in the correct branches.
Best,
JF
>
> If you install packages with elpa you do not need the add-to-list,
> package-initialize takes care of adjusting the load-path and using require in
> the latest installed version of each package.
>
> Best,