problem with pushnew in .emacs file

nicolas.pelletier3 at free.fr nicolas.pelletier3 at free.fr
Wed Oct 6 22:14:10 PDT 2004


Brian Rice <water at tunes.org> writes:

>
> It's an xemacs-ism. In emacs, you do (setq load-path (push
> "~/slate/etc" load-path)), but repeating it will not avoid duplicate
> entries.

As a side note, you can use the following with Emacs:

(add-to-list 'load-path "~/slate/etc")

It will prepend "~/slate/etc" to the load path, avoiding duplicates.

-- 
Nicolas




More information about the Slate mailing list