Mercurial > emacs
comparison lisp/shell.el @ 16877:f9d43993ed5a
(shell-mode): Don't set list-buffers-directory.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 18 Jan 1997 06:10:10 +0000 |
parents | 9df952241adc |
children | 653c0e2e1b31 |
comparison
equal
deleted
inserted
replaced
16876:34fa99fb91d1 | 16877:f9d43993ed5a |
---|---|
344 (setq shell-last-dir nil) | 344 (setq shell-last-dir nil) |
345 (make-local-variable 'shell-dirtrackp) | 345 (make-local-variable 'shell-dirtrackp) |
346 (setq shell-dirtrackp t) | 346 (setq shell-dirtrackp t) |
347 (add-hook 'comint-input-filter-functions 'shell-directory-tracker nil t) | 347 (add-hook 'comint-input-filter-functions 'shell-directory-tracker nil t) |
348 (setq comint-input-autoexpand shell-input-autoexpand) | 348 (setq comint-input-autoexpand shell-input-autoexpand) |
349 (make-local-variable 'list-buffers-directory) | 349 ;; We used to set list-buffers-directory here, but that was wrong. |
350 (setq list-buffers-directory (expand-file-name default-directory)) | 350 ;; A shell buffer is not a way of editing a directory. |
351 ;; shell-dependent assignments. | 351 ;; shell-dependent assignments. |
352 (let ((shell (file-name-nondirectory (car | 352 (let ((shell (file-name-nondirectory (car |
353 (process-command (get-buffer-process (current-buffer))))))) | 353 (process-command (get-buffer-process (current-buffer))))))) |
354 (setq comint-input-ring-file-name | 354 (setq comint-input-ring-file-name |
355 (or (getenv "HISTFILE") | 355 (or (getenv "HISTFILE") |