# HG changeset patch # User Glenn Morris # Date 1289448693 28800 # Node ID 127a74d52b0074eb55ba896e17fb5eb662e5b3d1 # Parent af2f491b6b27aaf116b2414347f719538b091350 esh-opt comments. diff -r af2f491b6b27 -r 127a74d52b00 lisp/eshell/esh-opt.el --- 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