aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/shell.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/shell.el')
-rw-r--r--lisp/shell.el10
1 files changed, 7 insertions, 3 deletions
diff --git a/lisp/shell.el b/lisp/shell.el
index cefe42bb3ec..c75594ddbe4 100644
--- a/lisp/shell.el
+++ b/lisp/shell.el
@@ -890,9 +890,13 @@ Environment variables are expanded, see function `substitute-in-file-name'."
890 890
891(defvaralias 'shell-dirtrack-mode 'shell-dirtrackp) 891(defvaralias 'shell-dirtrack-mode 'shell-dirtrackp)
892(define-minor-mode shell-dirtrack-mode 892(define-minor-mode shell-dirtrack-mode
893 "Turn directory tracking on and off in a shell buffer. 893 "Toggle directory tracking in this shell buffer (Shell Dirtrack mode).
894The `dirtrack' package provides an alternative implementation of this 894With a prefix argument ARG, enable Shell Dirtrack mode if ARG is
895feature - see the function `dirtrack-mode'." 895positive, and disable it otherwise. If called from Lisp, enable
896the mode if ARG is omitted or nil.
897
898The `dirtrack' package provides an alternative implementation of
899this feature; see the function `dirtrack-mode'."
896 nil nil nil 900 nil nil nil
897 (setq list-buffers-directory (if shell-dirtrack-mode default-directory)) 901 (setq list-buffers-directory (if shell-dirtrack-mode default-directory))
898 (if shell-dirtrack-mode 902 (if shell-dirtrack-mode