aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/shell.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/shell.el')
-rw-r--r--lisp/shell.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/shell.el b/lisp/shell.el
index d4a0556ceb3..232186083d5 100644
--- a/lisp/shell.el
+++ b/lisp/shell.el
@@ -315,6 +315,8 @@ for Shell mode only."
315 "List of directories saved by pushd in this buffer's shell. 315 "List of directories saved by pushd in this buffer's shell.
316Thus, this does not include the shell's current directory.") 316Thus, this does not include the shell's current directory.")
317 317
318(defvaralias 'shell-dirtrack-mode 'shell-dirtrackp)
319
318(defvar shell-dirtrackp t 320(defvar shell-dirtrackp t
319 "Non-nil in a shell buffer means directory tracking is enabled.") 321 "Non-nil in a shell buffer means directory tracking is enabled.")
320 322
@@ -961,7 +963,6 @@ Environment variables are expanded, see function `substitute-in-file-name'."
961 (and (string-match "^\\+[1-9][0-9]*$" str) 963 (and (string-match "^\\+[1-9][0-9]*$" str)
962 (string-to-number str))) 964 (string-to-number str)))
963 965
964(defvaralias 'shell-dirtrack-mode 'shell-dirtrackp)
965(define-minor-mode shell-dirtrack-mode 966(define-minor-mode shell-dirtrack-mode
966 "Toggle directory tracking in this shell buffer (Shell Dirtrack mode). 967 "Toggle directory tracking in this shell buffer (Shell Dirtrack mode).
967With a prefix argument ARG, enable Shell Dirtrack mode if ARG is 968With a prefix argument ARG, enable Shell Dirtrack mode if ARG is