mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-27 07:37:33 +00:00
(comint-check-proc, make-comint-in-buffer, comint-source-default): Doc fixes.
(comint-mode, comint-snapshot-last-prompt): Fix typos in docstring.
This commit is contained in:
parent
c14ec13543
commit
54fc2b6add
@ -583,7 +583,7 @@ Return not at end copies rest of line to end and sends it.
|
||||
Setting variable `comint-eol-on-send' means jump to the end of the line
|
||||
before submitting new input.
|
||||
|
||||
This mode is customised to create major modes such as Inferior Lisp
|
||||
This mode is customized to create major modes such as Inferior Lisp
|
||||
mode, Shell mode, etc. This can be done by setting the hooks
|
||||
`comint-input-filter-functions', `comint-input-filter', `comint-input-sender'
|
||||
and `comint-get-old-input' to appropriate functions, and the variable
|
||||
@ -654,7 +654,7 @@ Entry to this mode runs the hooks on `comint-mode-hook'."
|
||||
(set (make-local-variable 'next-line-add-newlines) nil))
|
||||
|
||||
(defun comint-check-proc (buffer)
|
||||
"Return t if there is a living process associated w/buffer BUFFER.
|
||||
"Return non-nil if there is a living process associated w/buffer BUFFER.
|
||||
Living means the status is `open', `run', or `stop'.
|
||||
BUFFER can be either a buffer or the name of one."
|
||||
(let ((proc (get-buffer-process buffer)))
|
||||
@ -667,7 +667,7 @@ If BUFFER is nil, it defaults to NAME surrounded by `*'s.
|
||||
PROGRAM should be either a string denoting an executable program to create
|
||||
via `start-process', or a cons pair of the form (HOST . SERVICE) denoting a TCP
|
||||
connection to be opened via `open-network-stream'. If there is already a
|
||||
running process in that buffer, it is not restarted. Optional third arg
|
||||
running process in that buffer, it is not restarted. Optional fourth arg
|
||||
STARTFILE is the name of a file to send the contents of to the process.
|
||||
|
||||
If PROGRAM is a string, any more args are arguments to PROGRAM."
|
||||
@ -1583,7 +1583,7 @@ See `comint-carriage-motion' for details.")
|
||||
|
||||
(defun comint-snapshot-last-prompt ()
|
||||
"`snapshot' any current `comint-last-prompt-overlay'.
|
||||
freeze its attributes in place, even when more input comes a long
|
||||
Freeze its attributes in place, even when more input comes along
|
||||
and moves the prompt overlay."
|
||||
(when comint-last-prompt-overlay
|
||||
(let ((inhibit-read-only t)
|
||||
@ -2389,7 +2389,7 @@ updated using `comint-update-fence', if necessary."
|
||||
"Compute the defaults for `load-file' and `compile-file' commands.
|
||||
|
||||
PREVIOUS-DIR/FILE is a pair (directory . filename) from the last
|
||||
source-file processing command. nil if there hasn't been one yet.
|
||||
source-file processing command, or nil if there hasn't been one yet.
|
||||
SOURCE-MODES is a list used to determine what buffers contain source
|
||||
files: if the major mode of the buffer is in SOURCE-MODES, it's source.
|
||||
Typically, (lisp-mode) or (scheme-mode).
|
||||
|
Loading…
Reference in New Issue
Block a user