]> git.eshelyaron.com Git - emacs.git/commitdiff
(shell-dirtrackp): Variable definition added.
authorRichard M. Stallman <rms@gnu.org>
Wed, 2 Mar 1994 16:55:16 +0000 (16:55 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 2 Mar 1994 16:55:16 +0000 (16:55 +0000)
lisp/shell.el

index 97a86d9de6ae68abcd5d877c845219a19353dead..aa08f990490887dacf9bd48d10791d5ada7e150d 100644 (file)
@@ -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.")