auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] Conflicts with ELPA


From: Mosè Giordano
Subject: Re: [AUCTeX] Conflicts with ELPA
Date: Wed, 31 Dec 2014 16:08:28 +0100

Hi Andreas,

2014-12-27 15:46 GMT+01:00 Andreas Matthias <address@hidden>:
> Starting emacs and loading ELPA and AUCTeX such as:
>
>    # cat foo.el
>    (require 'package)
>    (package-initialize)
>    (load "auctex.el" nil t t)
>
>    # emacs24 --no-site-file --no-init-file -l foo.el
>
> yields this error message:
>
>    ~/.emacs.d/elpa/auctex-11.88/auctex.el:Error: Opening directory: no such
>    file or directory, /home/andreas/style/
>
> How can I fix this?

Try replacing

--8<---------------cut here---------------start------------->8---
(eval-when-compile
  (byte-recompile-directory "style/" 0))
--8<---------------cut here---------------end--------------->8---

with

--8<---------------cut here---------------start------------->8---
(eval-when-compile
  (byte-recompile-directory
   (expand-file-name "style/"
             (file-name-directory load-file-name)) 0))
--8<---------------cut here---------------end--------------->8---

Does this work for you?

Bye,
Mosè



reply via email to

[Prev in Thread] Current Thread [Next in Thread]