aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1993-10-25 04:53:22 +0000
committerRichard M. Stallman1993-10-25 04:53:22 +0000
commitf4ef65c7419d633ea05dbada515d52514652ee3c (patch)
treee4d8944eebe765402dd1e57c38702ff159e04ab1
parentf73b0adae74fa2470bb5a4cb238af38a4fdef985 (diff)
downloademacs-f4ef65c7419d633ea05dbada515d52514652ee3c.tar.gz
emacs-f4ef65c7419d633ea05dbada515d52514652ee3c.zip
(comint-scroll-to-bottom-on-input)
(comint-scroll-to-bottom-on-input): Default to nil if baud-rate<=9600. (comint-filename-prefix): Deleted.
-rw-r--r--lisp/comint.el15
1 files changed, 8 insertions, 7 deletions
diff --git a/lisp/comint.el b/lisp/comint.el
index c4f8630e851..d2f1db93f2a 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -182,19 +182,25 @@ See also `comint-read-input-ring' and `comint-write-input-ring'.
182 182
183This variable is buffer-local, and is a good thing to set in mode hooks.") 183This variable is buffer-local, and is a good thing to set in mode hooks.")
184 184
185(defvar comint-scroll-to-bottom-on-input 'this 185(defvar comint-scroll-to-bottom-on-input
186 (if (> baud-rate 9600) 'this)
186 "*Controls whether input to interpreter causes window to scroll. 187 "*Controls whether input to interpreter causes window to scroll.
187If nil, then do not scroll. If t or `all', scroll all windows showing buffer. 188If nil, then do not scroll. If t or `all', scroll all windows showing buffer.
188If `this', scroll only the selected window. 189If `this', scroll only the selected window.
189 190
191The default is `this' for fast terminals, nil for slower ones.
192
190See `comint-preinput-scroll-to-bottom'. This variable is buffer-local.") 193See `comint-preinput-scroll-to-bottom'. This variable is buffer-local.")
191 194
192(defvar comint-scroll-to-bottom-on-output 'this 195(defvar comint-scroll-to-bottom-on-output
196 (if (> baud-rate 9600) 'this)
193 "*Controls whether interpreter output causes window to scroll. 197 "*Controls whether interpreter output causes window to scroll.
194If nil, then do not scroll. If t or `all', scroll all windows showing buffer. 198If nil, then do not scroll. If t or `all', scroll all windows showing buffer.
195If `this', scroll only the selected window. 199If `this', scroll only the selected window.
196If `others', scroll only those that are not the selected window. 200If `others', scroll only those that are not the selected window.
197 201
202The default is `this' for fast terminals, nil for slower ones.
203
198See variable `comint-scroll-show-maximum-output' and function 204See variable `comint-scroll-show-maximum-output' and function
199`comint-postoutput-scroll-to-bottom'. This variable is buffer-local.") 205`comint-postoutput-scroll-to-bottom'. This variable is buffer-local.")
200 206
@@ -223,11 +229,6 @@ It returns the text to be submitted as process input. The default is
223`comint-get-old-input-default', which grabs the current line, and strips off 229`comint-get-old-input-default', which grabs the current line, and strips off
224leading text matching `comint-prompt-regexp'.") 230leading text matching `comint-prompt-regexp'.")
225 231
226(defvar comint-filename-prefix ""
227 "Prefix prepended to all absolute file names taken from process input.
228This is used by the completion functions, and by directory tracking in shell
229mode.")
230
231(defvar comint-after-partial-filename-command 'comint-after-partial-filename 232(defvar comint-after-partial-filename-command 'comint-after-partial-filename
232 "Function that returns non-nil if point is after a file name. 233 "Function that returns non-nil if point is after a file name.
233By default this is `comint-after-partial-filename'. 234By default this is `comint-after-partial-filename'.