]> git.eshelyaron.com Git - emacs.git/commitdiff
(eshell/cd): Don't throw to a tag outside the scope.
authorGlenn Morris <rgm@gnu.org>
Thu, 26 Nov 2009 03:09:58 +0000 (03:09 +0000)
committerGlenn Morris <rgm@gnu.org>
Thu, 26 Nov 2009 03:09:58 +0000 (03:09 +0000)
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=557572

lisp/ChangeLog
lisp/eshell/em-dirs.el

index 598fc925a25f04d98d5106c69666407481660c1e..e675c4fdd1b16746f31e542b3fc2cecdf779cb1e 100644 (file)
@@ -1,3 +1,7 @@
+2009-11-26  Glenn Morris  <rgm@gnu.org>
+
+       * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside the scope.
+
 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
 
        * vc-annotate.el (vc-annotate-revision-previous-to-line):
index cc95d81021329bed21dc834698b238c29d1fa17c..5815430bf3101db20aebd38fbced8a2f2c5a3817 100644 (file)
@@ -401,8 +401,8 @@ in the minibuffer:
               (eshell-printn result)))
        (run-hooks 'eshell-directory-change-hook)
        (if eshell-list-files-after-cd
-           (throw 'eshell-replace-command
-                  (eshell-parse-command "ls" (cdr args))))
+           ;; Let-bind eshell-last-command around this?
+           (eshell-plain-command "ls" (cdr args)))
        nil))))
 
 (put 'eshell/cd 'eshell-no-numeric-conversions t)