aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2009-11-26 03:09:58 +0000
committerGlenn Morris2009-11-26 03:09:58 +0000
commit7629c4e74505fcb3d569d5b6fae85e304594986a (patch)
tree4e543972635f2ff7c9643726f0ba351862c91a33
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
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/eshell/em-dirs.el4
2 files changed, 6 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 598fc925a25..e675c4fdd1b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12009-11-26 Glenn Morris <rgm@gnu.org>
2
3 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside the scope.
4
12009-11-25 Johan Bockgård <bojohan@gnu.org> 52009-11-25 Johan Bockgård <bojohan@gnu.org>
2 6
3 * vc-annotate.el (vc-annotate-revision-previous-to-line): 7 * vc-annotate.el (vc-annotate-revision-previous-to-line):
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)