aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/shell.el
diff options
context:
space:
mode:
authorKaroly Lorentey2006-06-12 07:27:12 +0000
committerKaroly Lorentey2006-06-12 07:27:12 +0000
commit476e9367ec1f440aa23904b7bc482ea4a3b8041c (patch)
tree4f7f5a5e9a6668f908834bb6e216c8fa3727d4b3 /lisp/shell.el
parenta13f8f50d4cc544d3bbfa78568e82ce09e68bded (diff)
parent6b519504c3297595101628e823e72c91e562ab45 (diff)
downloademacs-476e9367ec1f440aa23904b7bc482ea4a3b8041c.tar.gz
emacs-476e9367ec1f440aa23904b7bc482ea4a3b8041c.zip
Merged from emacs@sv.gnu.org.
Patches applied: * emacs@sv.gnu.org/emacs--devo--0--patch-294 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-295 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/emacs--devo--0--patch-296 Update from CVS: admin/FOR-RELEASE: Update refcard section. * emacs@sv.gnu.org/emacs--devo--0--patch-297 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-298 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-299 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-300 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-301 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-302 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-303 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-304 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-103 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-104 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-570
Diffstat (limited to 'lisp/shell.el')
-rw-r--r--lisp/shell.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/shell.el b/lisp/shell.el
index bfa9565e8d4..6b22ac79238 100644
--- a/lisp/shell.el
+++ b/lisp/shell.el
@@ -367,7 +367,7 @@ Thus, this does not include the shell's current directory.")
367(put 'shell-mode 'mode-class 'special) 367(put 'shell-mode 'mode-class 'special)
368 368
369(define-derived-mode shell-mode comint-mode "Shell" 369(define-derived-mode shell-mode comint-mode "Shell"
370 "Major mode for interacting with an inferior shell. 370 "Major mode for interacting with an inferior shell.\\<shell-mode-map>
371\\[comint-send-input] after the end of the process' output sends the text from 371\\[comint-send-input] after the end of the process' output sends the text from
372 the end of process to the end of the current line. 372 the end of process to the end of the current line.
373\\[comint-send-input] before end of process output copies the current line minus the prompt to 373\\[comint-send-input] before end of process output copies the current line minus the prompt to
@@ -433,11 +433,11 @@ buffer."
433 (setq shell-dirstack nil) 433 (setq shell-dirstack nil)
434 (make-local-variable 'shell-last-dir) 434 (make-local-variable 'shell-last-dir)
435 (setq shell-last-dir nil) 435 (setq shell-last-dir nil)
436 (shell-dirtrack-mode 1)
437 (setq comint-input-autoexpand shell-input-autoexpand) 436 (setq comint-input-autoexpand shell-input-autoexpand)
438 ;; This is not really correct, since the shell buffer does not really 437 ;; This is not really correct, since the shell buffer does not really
439 ;; edit this directory. But it is useful in the buffer list and menus. 438 ;; edit this directory. But it is useful in the buffer list and menus.
440 (make-local-variable 'list-buffers-directory) 439 (make-local-variable 'list-buffers-directory)
440 (shell-dirtrack-mode 1)
441 (setq list-buffers-directory (expand-file-name default-directory)) 441 (setq list-buffers-directory (expand-file-name default-directory))
442 ;; shell-dependent assignments. 442 ;; shell-dependent assignments.
443 (when (ring-empty-p comint-input-ring) 443 (when (ring-empty-p comint-input-ring)