[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs load path
From: |
Taylan Ulrich Bayırlı/Kammer |
Subject: |
Re: Emacs load path |
Date: |
Tue, 29 Dec 2015 02:30:52 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Alex Kost <address@hidden> 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
- Emacs load path (was: Re: Multiple versions), Federico Beffa, 2015/12/27
- Re: Emacs load path, Alex Kost, 2015/12/28
- Re: Emacs load path,
Taylan Ulrich Bayırlı/Kammer <=
- Re: Emacs load path, Federico Beffa, 2015/12/30
- Re: Emacs load path, Alex Kost, 2015/12/30
- Re: Emacs load path, Federico Beffa, 2015/12/30
- Re: Emacs load path, Alex Kost, 2015/12/31
- Re: Emacs load path, Federico Beffa, 2015/12/31
- Re: Emacs load path, Alex Kost, 2015/12/31
Re: Emacs load path, Ludovic Courtès, 2015/12/30