comparison lisp/dirtrack.el @ 85790:f6d6cf96529d

(dirtrack-mode): Doc fix.
author Glenn Morris <rgm@gnu.org>
date Tue, 30 Oct 2007 06:42:09 +0000
parents 0600735b5f64
children 107ccd98fa12 880960b70474
comparison
equal deleted inserted replaced
85789:82940d0122ff 85790:f6d6cf96529d
192 192
193 193
194 ;;;###autoload 194 ;;;###autoload
195 (define-minor-mode dirtrack-mode 195 (define-minor-mode dirtrack-mode
196 "Enable or disable Dirtrack directory tracking in a shell buffer. 196 "Enable or disable Dirtrack directory tracking in a shell buffer.
197 This provides an alternative to `shell-dirtrack-mode'." 197 This method requires that your shell prompt contain the full
198 current working directory at all times, and that `dirtrack-list'
199 is set to match the prompt. This is an alternative to
200 `shell-dirtrack-mode', which works differently, by tracking `cd'
201 and similar commands which change the shell working directory."
198 nil nil nil 202 nil nil nil
199 (if dirtrack-mode 203 (if dirtrack-mode
200 (add-hook 'comint-preoutput-filter-functions 'dirtrack nil t) 204 (add-hook 'comint-preoutput-filter-functions 'dirtrack nil t)
201 (remove-hook 'comint-preoutput-filter-functions 'dirtrack t))) 205 (remove-hook 'comint-preoutput-filter-functions 'dirtrack t)))
202 206