aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThien-Thi Nguyen2007-08-26 01:52:30 +0000
committerThien-Thi Nguyen2007-08-26 01:52:30 +0000
commit0d182a34a175b04f05f86a1494cd4cd447777786 (patch)
tree96a79a8970b09e3d83bbf7526418fb20387a8236
parenta549ce70542360af098cc94d191cc01879bf3a8e (diff)
downloademacs-0d182a34a175b04f05f86a1494cd4cd447777786.tar.gz
emacs-0d182a34a175b04f05f86a1494cd4cd447777786.zip
(eshell-eval-using-options): Add debug declaration.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/eshell/esh-opt.el3
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b79852362b9..005a2ddeb40 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12007-08-26 Thien-Thi Nguyen <ttn@gnuvola.org>
2
3 * eshell/esh-opt.el (eshell-eval-using-options):
4 Add debug declaration.
5
12007-08-26 Dan Nicolaescu <dann@ics.uci.edu> 62007-08-26 Dan Nicolaescu <dann@ics.uci.edu>
2 7
3 * vc-hooks.el (vc-registered): Use mapc instead of mapcar. 8 * vc-hooks.el (vc-registered): Use mapc instead of mapcar.
diff --git a/lisp/eshell/esh-opt.el b/lisp/eshell/esh-opt.el
index 41e12e70b43..121f568a9c4 100644
--- a/lisp/eshell/esh-opt.el
+++ b/lisp/eshell/esh-opt.el
@@ -58,6 +58,7 @@ BODY-FORMS. If instead an external command is run, the tag
58 58
59Lastly, any remaining arguments will be available in a locally 59Lastly, any remaining arguments will be available in a locally
60interned variable `args' (created using a `let' form)." 60interned variable `args' (created using a `let' form)."
61 (declare (debug (form form sexp body)))
61 `(let ((temp-args 62 `(let ((temp-args
62 ,(if (memq ':preserve-args (cadr options)) 63 ,(if (memq ':preserve-args (cadr options))
63 macro-args 64 macro-args
@@ -101,7 +102,7 @@ This code doesn't really need to be macro expanded everywhere."
101 nil)) 102 nil))
102 (error "%s" usage-msg)))) 103 (error "%s" usage-msg))))
103 (throw 'eshell-external 104 (throw 'eshell-external
104 (eshell-external-command ext-command args)) 105 (eshell-external-command ext-command args))
105 last-value)) 106 last-value))
106 107
107(defun eshell-show-usage (name options) 108(defun eshell-show-usage (name options)