bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#24471: 25.1.50; Error on empty PATH component


From: Achim Gratz
Subject: bug#24471: 25.1.50; Error on empty PATH component
Date: Mon, 17 Oct 2016 18:25:17 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Eli Zaretskii writes:
> Thanks.  Does the patch below fix the problem?
>
> diff --git a/lisp/cus-start.el b/lisp/cus-start.el
> index 001d638..bd2b280 100644
> --- a/lisp/cus-start.el
> +++ b/lisp/cus-start.el
> @@ -174,8 +174,10 @@ minibuffer-prompt-properties--setter
>                          nil
>                          :standard
>                          (mapcar 'directory-file-name
> -                                (append (parse-colon-path (getenv "PATH"))
> -                                        (list exec-directory))))
> +                                (delq nil
> +                                      (append
> +                                       (parse-colon-path (getenv "PATH"))
> +                                       (list exec-directory)))))
>            (exec-suffixes execute (repeat string))
>            ;; charset.c
>            (charset-map-path installation

I've tried to patch this in-place, first by recompiling the affected
custom files, then by removing all the .elc files.  I failed, somehow
this eval never changes to include the delq nil introduced with the
patch and I can't seem to find the code path that it takes to get to the
non-changed version.  I can't recompile Emacs on Windows.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Q+, Q and microQ:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds






reply via email to

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