Mercurial > emacs
changeset 63558:d93100b97dcc
(term-get-old-input, term-input-filter, term-input-sender)
(term-mode-hook, term-exec-hook, term-escape-char): Doc fixes.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 17 Jun 2005 14:37:55 +0000 |
parents | 6a1d35d4ea03 |
children | f3ed2587aecc |
files | lisp/term.el |
diffstat | 1 files changed, 10 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/term.el Fri Jun 17 14:33:40 2005 +0000 +++ b/lisp/term.el Fri Jun 17 14:37:55 2005 +0000 @@ -570,8 +570,8 @@ "Function that submits old text in term mode. This function is called when return is typed while the point is in old text. It returns the text to be submitted as process input. The default is -term-get-old-input-default, which grabs the current line, and strips off -leading text matching term-prompt-regexp") +`term-get-old-input-default', which grabs the current line, and strips off +leading text matching `term-prompt-regexp'.") (defvar term-dynamic-complete-functions '(term-replace-by-expanded-history term-dynamic-complete-filename) @@ -585,7 +585,7 @@ (function (lambda (str) (not (string-match "\\`\\s *\\'" str)))) "Predicate for filtering additions to input history. Only inputs answering true to this function are saved on the input -history list. Default is to save anything that isn't all whitespace") +history list. Default is to save anything that isn't all whitespace.") (defvar term-input-filter-functions '() "Functions to call before input is sent to the process. @@ -595,9 +595,9 @@ (defvar term-input-sender (function term-simple-send) "Function to actually send to PROCESS the STRING submitted by user. -Usually this is just 'term-simple-send, but if your mode needs to +Usually this is just `term-simple-send', but if your mode needs to massage the input string, this is your hook. This is called from -the user command term-send-input. `term-simple-send' just sends +the user command `term-send-input'. `term-simple-send' just sends the string plus a newline.") (defcustom term-eol-on-send t @@ -607,16 +607,16 @@ :group 'term) (defcustom term-mode-hook '() - "Called upon entry into term-mode + "Called upon entry into term mode. This is run before the process is cranked up." :type 'hook :group 'term) (defcustom term-exec-hook '() - "Called each time a process is exec'd by term-exec. + "Called each time a process is exec'd by `term-exec'. This is called after the process is cranked up. It is useful for things that -must be done each time a process is executed in a term-mode buffer (e.g., -\(process-kill-without-query)). In contrast, the term-mode-hook is only +must be done each time a process is executed in a term mode buffer (e.g., +`process-kill-without-query'). In contrast, `term-mode-hook' is only executed once when the buffer is created." :type 'hook :group 'term) @@ -625,7 +625,7 @@ (defvar term-raw-map nil "Keyboard map for sending characters directly to the inferior process.") (defvar term-escape-char nil - "Escape character for char-sub-mode of term mode. + "Escape character for char sub-mode of term mode. Do not change it directly; use `term-set-escape-char' instead.") (defvar term-raw-escape-map nil)