mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-27 07:37:33 +00:00
db745f37ae
* lisp/eshell/esh-opt.el (eshell--split-switch): New function. (eshell-set-option): Allow setting a supplied value instead of always consuming from 'eshell--args'. (eshell--process-option): Support consuming option values specified as a single token. (eshell--process-args): For short options, pass full switch token to 'eshell--process-option'. * test/lisp/eshell/esh-opt-tests.el (esh-opt-process-args-test): Fix test. (test-eshell-eval-using-options): Add tests for various types of options. * doc/misc/eshell.texi (Defining new built-in commands): New subsection, describe how to use 'eshell-eval-using-options'. * etc/NEWS: Announce the change. |
||
---|---|---|
.. | ||
em-alias.el | ||
em-banner.el | ||
em-basic.el | ||
em-cmpl.el | ||
em-dirs.el | ||
em-glob.el | ||
em-hist.el | ||
em-ls.el | ||
em-pred.el | ||
em-prompt.el | ||
em-rebind.el | ||
em-script.el | ||
em-smart.el | ||
em-term.el | ||
em-tramp.el | ||
em-unix.el | ||
em-xtra.el | ||
esh-arg.el | ||
esh-cmd.el | ||
esh-ext.el | ||
esh-io.el | ||
esh-mode.el | ||
esh-module.el | ||
esh-opt.el | ||
esh-proc.el | ||
esh-util.el | ||
esh-var.el | ||
eshell.el |