changeset 6152:34d9a0aa80d1

(shell-dirtrackp): Variable definition added.
author Richard M. Stallman <rms@gnu.org>
date Wed, 02 Mar 1994 16:55:16 +0000
parents 08de067a16fd
children 40e4038bd544
files lisp/shell.el
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/shell.el	Wed Mar 02 16:51:20 1994 +0000
+++ b/lisp/shell.el	Wed Mar 02 16:55:16 1994 +0000
@@ -217,13 +217,13 @@
 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.")