On 1/25/2022 10:49 AM, Iñigo Serna wrote:
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")
Have you tried `make bootstrap' (or `touch lisp/eshell/*.el' if
you
don't want to rebuild everything)? Commit dea24a0f7d changes the
`eshell-eval-using-options' macro in a way that requires
recompiling
files that use it.
- Jim