(tex-define-common-keys tex-shell-map)
(use-local-map tex-shell-map)
(compilation-shell-minor-mode t)
- (setq comint-input-filter-functions 'shell-directory-tracker)
+ (add-hook 'comint-input-filter-functions 'shell-directory-tracker nil t)
+ (make-local-variable 'list-buffers-directory)
+ (make-local-variable 'shell-dirstack)
+ (make-local-variable 'shell-last-dir)
+ (make-local-variable 'shell-dirtrackp)
(run-hooks 'tex-shell-hook)
(while (zerop (buffer-size))
(sleep-for 1)))))