[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
eshell/addpath broken since commit dea24a0f7d
From: |
Iñigo Serna |
Subject: |
eshell/addpath broken since commit dea24a0f7d |
Date: |
Tue, 25 Jan 2022 19:49:49 +0100 |
User-agent: |
mu4e 1.6.10; emacs 29.0.50 |
Hi
It looks `eshell/addpath' is broken in master since commit
dea24a0f7d [1].
$ src/emacs --debug-init -Q --eval "(progn (require 'eshell)
(eshell/addpath \"~/bin\"))"
Debugger entered--Lisp error: (wrong-number-of-arguments (4 . 4)
3)
eshell--do-opts("addpath" ((98 "begin" nil prepend "add path
element at beginning") (104 "help" nil nil "display this usage
message") :usage "[-b] PATH\nAdds the given PATH to $PATH.")
("~/bin"))
eshell/addpath("~/bin")
Thanks,
--
Iñigo Serna
[1]
commit dea24a0f7d4ae42fae912dd724a770678054989a
Author: Jim Porter <jporterbugs@gmail.com>
Date: Mon Jan 24 21:03:42 2022 -0800
Don't manipulate args in-place for 'eshell-eval-using-options'
This is necessary for preserve the original arguments to
forward on to
:external commands. Previously, when :preserve-args was also
set, the
original argument list could be altered, changing the meaning
of the
command.
- eshell/addpath broken since commit dea24a0f7d,
Iñigo Serna <=