aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/shell.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen2022-05-05 15:04:43 +0200
committerLars Ingebrigtsen2022-05-05 15:06:26 +0200
commit6dbbdff281775eb82133fd13edc2ff6b63a97a58 (patch)
tree04afb1155baa3d80569e1504705cfa9ef2f1245e /lisp/shell.el
parent71de48494e9024243d4c8b8847c50c0b5c0ac16f (diff)
downloademacs-6dbbdff281775eb82133fd13edc2ff6b63a97a58.tar.gz
emacs-6dbbdff281775eb82133fd13edc2ff6b63a97a58.zip
Advertise OSC directory tracking more
* doc/emacs/misc.texi (Interactive Shell): Document OSC directory tracking more. * lisp/shell.el (shell-dirtrack-mode): Link to the OSC directory tracking function.
Diffstat (limited to 'lisp/shell.el')
-rw-r--r--lisp/shell.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/shell.el b/lisp/shell.el
index 627c48e35fb..47887433d9f 100644
--- a/lisp/shell.el
+++ b/lisp/shell.el
@@ -1033,7 +1033,9 @@ Environment variables are expanded, see function `substitute-in-file-name'."
1033 "Toggle directory tracking in this shell buffer (Shell Dirtrack mode). 1033 "Toggle directory tracking in this shell buffer (Shell Dirtrack mode).
1034 1034
1035The `dirtrack' package provides an alternative implementation of 1035The `dirtrack' package provides an alternative implementation of
1036this feature; see the function `dirtrack-mode'." 1036this feature; see the function `dirtrack-mode'. Also see
1037`comint-osc-directory-tracker' for an escape-sequence based
1038solution."
1037 :lighter nil 1039 :lighter nil
1038 (setq list-buffers-directory (if shell-dirtrack-mode default-directory)) 1040 (setq list-buffers-directory (if shell-dirtrack-mode default-directory))
1039 (if shell-dirtrack-mode 1041 (if shell-dirtrack-mode