aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/shell.el
diff options
context:
space:
mode:
authorGlenn Morris2007-10-30 06:39:00 +0000
committerGlenn Morris2007-10-30 06:39:00 +0000
commitc004e539dc15e71b9d0daeaa4741b6ea767f8e1f (patch)
treef6a0f3bd5a4ccea88e4a86eac7391bd2eddda8f6 /lisp/shell.el
parent5b549c31a7863fb45ff175879337d14059a5ddbe (diff)
downloademacs-c004e539dc15e71b9d0daeaa4741b6ea767f8e1f.tar.gz
emacs-c004e539dc15e71b9d0daeaa4741b6ea767f8e1f.zip
(shell-dirtrack-verbose, shell-mode, shell-directory-tracker)
(shell-dirtrack-mode): Doc fix.
Diffstat (limited to 'lisp/shell.el')
-rw-r--r--lisp/shell.el11
1 files changed, 8 insertions, 3 deletions
diff --git a/lisp/shell.el b/lisp/shell.el
index 5089e75409b..24ef65a384a 100644
--- a/lisp/shell.el
+++ b/lisp/shell.el
@@ -259,7 +259,8 @@ This mirrors the optional behavior of tcsh."
259(defcustom shell-dirtrack-verbose t 259(defcustom shell-dirtrack-verbose t
260 "If non-nil, show the directory stack following directory change. 260 "If non-nil, show the directory stack following directory change.
261This is effective only if directory tracking is enabled. 261This is effective only if directory tracking is enabled.
262The `dirtrack' package provides an alternative implementation of this feature." 262The `dirtrack' package provides an alternative implementation of this feature -
263see the function `dirtrack-mode'."
263 :type 'boolean 264 :type 'boolean
264 :group 'shell-directories) 265 :group 'shell-directories)
265 266
@@ -396,7 +397,7 @@ by \\[list-buffers] or \\[mouse-buffer-menu] in the `File' field.
396 directory stack is. 397 directory stack is.
397\\[shell-dirtrack-mode] turns directory tracking on and off. 398\\[shell-dirtrack-mode] turns directory tracking on and off.
398\(The `dirtrack' package provides an alternative implementation of this 399\(The `dirtrack' package provides an alternative implementation of this
399feature.) 400feature - see the function `dirtrack-mode'.)
400 401
401\\{shell-mode-map} 402\\{shell-mode-map}
402Customization: Entry to this mode runs the hooks on `comint-mode-hook' and 403Customization: Entry to this mode runs the hooks on `comint-mode-hook' and
@@ -626,6 +627,8 @@ default directory to track these commands.
626 627
627You may toggle this tracking on and off with \\[shell-dirtrack-mode]. 628You may toggle this tracking on and off with \\[shell-dirtrack-mode].
628If Emacs gets confused, you can resync with the shell with \\[dirs]. 629If Emacs gets confused, you can resync with the shell with \\[dirs].
630\(The `dirtrack' package provides an alternative implementation of this
631feature - see the function `dirtrack-mode'.)
629 632
630See variables `shell-cd-regexp', `shell-chdrive-regexp', `shell-pushd-regexp', 633See variables `shell-cd-regexp', `shell-chdrive-regexp', `shell-pushd-regexp',
631and `shell-popd-regexp', while `shell-pushd-tohome', `shell-pushd-dextract', 634and `shell-popd-regexp', while `shell-pushd-tohome', `shell-pushd-dextract',
@@ -781,7 +784,9 @@ Environment variables are expanded, see function `substitute-in-file-name'."
781 784
782(defvaralias 'shell-dirtrack-mode 'shell-dirtrackp) 785(defvaralias 'shell-dirtrack-mode 'shell-dirtrackp)
783(define-minor-mode shell-dirtrack-mode 786(define-minor-mode shell-dirtrack-mode
784 "Turn directory tracking on and off in a shell buffer." 787 "Turn directory tracking on and off in a shell buffer.
788The `dirtrack' package provides an alternative implementation of this
789feature - see the function `dirtrack-mode'."
785 nil nil nil 790 nil nil nil
786 (setq list-buffers-directory (if shell-dirtrack-mode default-directory)) 791 (setq list-buffers-directory (if shell-dirtrack-mode default-directory))
787 (if shell-dirtrack-mode 792 (if shell-dirtrack-mode