Mercurial > emacs
changeset 111495:127a74d52b00
esh-opt comments.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Wed, 10 Nov 2010 20:11:33 -0800 |
parents | af2f491b6b27 |
children | 82e69613602e |
files | lisp/eshell/esh-opt.el |
diffstat | 1 files changed, 4 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/eshell/esh-opt.el Wed Nov 10 20:10:38 2010 -0800 +++ b/lisp/eshell/esh-opt.el Wed Nov 10 20:11:33 2010 -0800 @@ -64,10 +64,9 @@ 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 @@ (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 @@ (setq index (1+ index))))))))) args) -;; arch-tag: 45c6c2d0-8091-46a1-a205-2f4bafd8230c ;;; esh-opt.el ends here