aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/eshell
diff options
context:
space:
mode:
authorGlenn Morris2009-11-26 03:09:58 +0000
committerGlenn Morris2009-11-26 03:09:58 +0000
commit7629c4e74505fcb3d569d5b6fae85e304594986a (patch)
tree4e543972635f2ff7c9643726f0ba351862c91a33 /lisp/eshell
parent5cf751b4a3aef1933f72b22ae5e8d0e1ddfc4e29 (diff)
downloademacs-7629c4e74505fcb3d569d5b6fae85e304594986a.tar.gz
emacs-7629c4e74505fcb3d569d5b6fae85e304594986a.zip
(eshell/cd): Don't throw to a tag outside the scope.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=557572
Diffstat (limited to 'lisp/eshell')
-rw-r--r--lisp/eshell/em-dirs.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/eshell/em-dirs.el b/lisp/eshell/em-dirs.el
index cc95d810213..5815430bf31 100644
--- a/lisp/eshell/em-dirs.el
+++ b/lisp/eshell/em-dirs.el
@@ -401,8 +401,8 @@ in the minibuffer:
401 (eshell-printn result))) 401 (eshell-printn result)))
402 (run-hooks 'eshell-directory-change-hook) 402 (run-hooks 'eshell-directory-change-hook)
403 (if eshell-list-files-after-cd 403 (if eshell-list-files-after-cd
404 (throw 'eshell-replace-command 404 ;; Let-bind eshell-last-command around this?
405 (eshell-parse-command "ls" (cdr args)))) 405 (eshell-plain-command "ls" (cdr args)))
406 nil)))) 406 nil))))
407 407
408(put 'eshell/cd 'eshell-no-numeric-conversions t) 408(put 'eshell/cd 'eshell-no-numeric-conversions t)