Mosè Giordano wrote:

> 2014-12-27 15:46 GMT+01:00 Andreas Matthias <andreas.matth...@gmail.com>:
> > 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

> (eval-when-compile
>   (byte-recompile-directory "style/" 0))

> with

> (eval-when-compile
>   (byte-recompile-directory
>    (expand-file-name "style/"
>              (file-name-directory load-file-name)) 0))

> Does this work for you?

Yes, this does the trick. Thank you.

Andreas

ps: Just realized that I have problems with followups in Gnus. Seems my
update to Emacs 24 was not so smooth ...



_______________________________________________
auctex mailing list
auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to