]> git.eshelyaron.com Git - emacs.git/commit
* lisp/eshell/esh-opt.el: Fix last change to set lexical-vars properly.
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 16 Sep 2013 18:23:30 +0000 (14:23 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 16 Sep 2013 18:23:30 +0000 (14:23 -0400)
commit70568a90a17f4ea136d99f0c8eed5088322fb5ed
tree022ae34040299419764dcca7889134167f4b875f
parent3f386383dc0459fb857c0831aeecb9072f7085d7
* lisp/eshell/esh-opt.el: Fix last change to set lexical-vars properly.
(eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
return args and options.
(eshell-eval-using-options): Use the new return value of
eshell--do-opts to set the options's vars in their scope.
(eshell--set-option): Rename from eshell-set-option.
Add arg `opt-vals'.
(eshell--process-option): Rename from eshell-process-option.
Add arg `opt-vals'.
(eshell--process-args): Use an `opt-vals' alist to store the options's
values during their processing and return them additionally to the
remaining args.

Fixes: debbugs:15379
lisp/ChangeLog
lisp/eshell/esh-opt.el
lisp/eshell/esh-util.el