[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: interference between package and exec-path values ?

From: Yuri Khan
Subject: Re: interference between package and exec-path values ?
Date: Sat, 20 Oct 2018 00:24:27 +0700

On Sat, Oct 20, 2018 at 12:15 AM Jean-Christophe Helary
<> wrote:

> I am finding that having this line in my .emacs.el:
> (setq exec-path (append "/usr/local/bin/" exec-path))
> interferes with package to the point that I can't install anything.

‘append’ accepts sequences as arguments. You are passing a string as
the first sequence, so it gets shredded to its constituent characters
and these become elements of the resulting list.

You probably wanted:

    (setq exec-path (append '("/usr/local/bin/") exec-path))


    (add-to-list 'exec-path "/usr/local/bin/")

or possibly nothing, because the default value of exec-path derives
its value from your PATH environment variable and that should already
include /usr/local/bin.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]