Alex Kost <alez...@gmail.com> writes: > Federico Beffa (2015-12-28 01:16 +0300) wrote: > > [...] >> 1. (setq load-path (append '("/usr/local/share/emacs/site-lisp/") load-path)) > > This is very unusual. Why 'append' instead of 'cons'? Anyway an > idiomatic way is: (add-to-list 'load-path "dir")
If it's important to add the new element to the end of the list, then one can also tell that to 'add-to-list' via an optional Boolean argument, like: (add-to-list 'load-path "dir" t) Taylan