diff options
author | Glenn Morris <rgm@gnu.org> | 2010-11-10 20:11:33 -0800 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2010-11-10 20:11:33 -0800 |
commit | 5ca6733884a35e4b72a312d081f46beb8e131ef0 (patch) | |
tree | deae9f9f585a4f077c6b7fb71fea49245b789a31 /lisp/eshell/esh-opt.el | |
parent | 2af05d6ecdfb31963ac803f11d02a1d77c6645cf (diff) | |
download | emacs-5ca6733884a35e4b72a312d081f46beb8e131ef0.tar.gz |
esh-opt comments.
Diffstat (limited to 'lisp/eshell/esh-opt.el')
-rw-r--r-- | lisp/eshell/esh-opt.el | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lisp/eshell/esh-opt.el b/lisp/eshell/esh-opt.el index 91ba13be896..7662217237a 100644 --- a/lisp/eshell/esh-opt.el +++ b/lisp/eshell/esh-opt.el @@ -64,10 +64,9 @@ interned variable `args' (created using a `let' form)." macro-args (list 'eshell-stringify-list (list 'eshell-flatten-list macro-args))))) - (let ,(append (mapcar (function - (lambda (opt) - (or (and (listp opt) (nth 3 opt)) - 'eshell-option-stub))) + (let ,(append (mapcar (lambda (opt) + (or (and (listp opt) (nth 3 opt)) + 'eshell-option-stub)) (cadr options)) '(usage-msg last-value ext-command args)) (eshell-do-opt ,name ,options (quote ,body-forms))))) @@ -78,6 +77,7 @@ interned variable `args' (created using a `let' form)." (defvar last-value) (defvar usage-msg) (defvar ext-command) +;; Documented part of the interface; see eshell-eval-using-options. (defvar args) (defun eshell-do-opt (name options body-forms) @@ -224,5 +224,4 @@ This assumes that symbols have been intern'd by `eshell-with-options'." (setq index (1+ index))))))))) args) -;; arch-tag: 45c6c2d0-8091-46a1-a205-2f4bafd8230c ;;; esh-opt.el ends here |