summaryrefslogtreecommitdiff
path: root/lisp/shell.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-03-02 16:55:16 +0000
committerRichard M. Stallman <rms@gnu.org>1994-03-02 16:55:16 +0000
commit2815058825d50baf56c02e80cbdd42fea5c76f00 (patch)
treec2f02de987f0e7afa71615853da2a1cba9b56b25 /lisp/shell.el
parentbf60b2f386e6747c4b7c3948dc16b627ceb9d5d9 (diff)
downloademacs-2815058825d50baf56c02e80cbdd42fea5c76f00.tar.gz
(shell-dirtrackp): Variable definition added.
Diffstat (limited to 'lisp/shell.el')
-rw-r--r--lisp/shell.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/shell.el b/lisp/shell.el
index 97a86d9de6a..aa08f990490 100644
--- a/lisp/shell.el
+++ b/lisp/shell.el
@@ -217,13 +217,13 @@ into the buffer's input ring. See also `comint-magic-space' and
This variable supplies a default for `comint-input-autoexpand',
for Shell mode only.")
-;;; All the above vars aren't prefixed "cmushell-" to make them
-;;; backwards compatible w/shell.el and old .emacs files.
-
(defvar shell-dirstack nil
"List of directories saved by pushd in this buffer's shell.
Thus, this does not include the shell's current directory.")
+(defvar shell-dirtrackp t
+ "Non-nil in a shell buffer means directory tracking is enabled.")
+
(defvar shell-last-dir nil
"Keep track of last directory for ksh `cd -' command.")