]> git.eshelyaron.com Git - emacs.git/commit
Eshell: Mostly cosmetic changes to be more explicit about dynbind
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 20 Mar 2019 16:51:31 +0000 (12:51 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 20 Mar 2019 16:51:31 +0000 (12:51 -0400)
commit99b3d64e54bb896e7b35567ac7022f9d3fb16bbb
treebddffc159651734c227ccf1a2c8a145d571c3e62
parent9efc43f34adfff2f00162fb85685824557d00eb1
Eshell: Mostly cosmetic changes to be more explicit about dynbind

* lisp/eshell/em-dirs.el (eshell-dirs-initialize): Reveal the lambdas.
(eshell-expand-multiple-dots): Fix ^+$ => \`+\' in the regexp.

* lisp/eshell/esh-cmd.el (eshell-this-command-hook): Declare as
dynamically scoped.
(eshell-trap-errors): Use `mapc funcall` since this can't have
global/local settings like a true hook.
(eshell-do-eval): Split the `let` case from the rest so we can use
`cl-progv` rather than `eval` for it.
(eshell/which): Use `fboundp` test instead of ugly
gymnastics to try and hide the function call from the compiler.

* lisp/eshell/esh-var.el (eshell-variable-aliases-list): Reveal the lambdas.
(eshell-parse-variable-ref): Use backquotes.
lisp/eshell/em-dirs.el
lisp/eshell/esh-cmd.el
lisp/eshell/esh-var.el