Dirk Eddelbuettel <e...@debian.org> writes:
>
>   (debian-pkg-add-load-path-item
>    (concat "/usr/share/" (symbol-name debian-emacs-flavor) "/site-lisp/ess"))

Yes, that's about right.

>   ;; Put the uncompiled code in the path too
>   (setq load-path (cons  (concat "/usr/share/"
>                                (symbol-name debian-emacs-flavor)
>                                "/site-lisp/ess") load-path ))

This has the disadvantage of `M-x list-load-path-shadows' reporting the
compiled code shadows the source (wrongly), because normally the .el
should normally be in the same dir as the .elc.

The best idea so far, and as used for instance in emacs-goodies-el, is
to symlink the sources into /usr/share/emacs23/site-lisp/ess and simply
leave them after compiling.  Ie. in
/usr/lib/emacsen-common/packages/install/ess the "cp" becomes "ln -s"
and rm just the path.el compile helper.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to