diff options
| author | Richard M. Stallman | 2005-06-17 14:37:55 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-06-17 14:37:55 +0000 |
| commit | 5773891df7ff28ba6dd9166216fc5ec94799b29f (patch) | |
| tree | 64f96f92624f611a6098c56fcb1db0944a8b6a3d | |
| parent | c29316d5405f5a86921fe961bd1fc66a2b40f22e (diff) | |
| download | emacs-5773891df7ff28ba6dd9166216fc5ec94799b29f.tar.gz emacs-5773891df7ff28ba6dd9166216fc5ec94799b29f.zip | |
(term-get-old-input, term-input-filter, term-input-sender)
(term-mode-hook, term-exec-hook, term-escape-char): Doc fixes.
| -rw-r--r-- | lisp/term.el | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lisp/term.el b/lisp/term.el index b7d2d4c59b0..3295c87da14 100644 --- a/lisp/term.el +++ b/lisp/term.el | |||
| @@ -570,8 +570,8 @@ This variable is buffer-local." | |||
| 570 | "Function that submits old text in term mode. | 570 | "Function that submits old text in term mode. |
| 571 | This function is called when return is typed while the point is in old text. | 571 | This function is called when return is typed while the point is in old text. |
| 572 | It returns the text to be submitted as process input. The default is | 572 | It returns the text to be submitted as process input. The default is |
| 573 | term-get-old-input-default, which grabs the current line, and strips off | 573 | `term-get-old-input-default', which grabs the current line, and strips off |
| 574 | leading text matching term-prompt-regexp") | 574 | leading text matching `term-prompt-regexp'.") |
| 575 | 575 | ||
| 576 | (defvar term-dynamic-complete-functions | 576 | (defvar term-dynamic-complete-functions |
| 577 | '(term-replace-by-expanded-history term-dynamic-complete-filename) | 577 | '(term-replace-by-expanded-history term-dynamic-complete-filename) |
| @@ -585,7 +585,7 @@ This is a good thing to set in mode hooks.") | |||
| 585 | (function (lambda (str) (not (string-match "\\`\\s *\\'" str)))) | 585 | (function (lambda (str) (not (string-match "\\`\\s *\\'" str)))) |
| 586 | "Predicate for filtering additions to input history. | 586 | "Predicate for filtering additions to input history. |
| 587 | Only inputs answering true to this function are saved on the input | 587 | Only inputs answering true to this function are saved on the input |
| 588 | history list. Default is to save anything that isn't all whitespace") | 588 | history list. Default is to save anything that isn't all whitespace.") |
| 589 | 589 | ||
| 590 | (defvar term-input-filter-functions '() | 590 | (defvar term-input-filter-functions '() |
| 591 | "Functions to call before input is sent to the process. | 591 | "Functions to call before input is sent to the process. |
| @@ -595,9 +595,9 @@ This variable is buffer-local.") | |||
| 595 | 595 | ||
| 596 | (defvar term-input-sender (function term-simple-send) | 596 | (defvar term-input-sender (function term-simple-send) |
| 597 | "Function to actually send to PROCESS the STRING submitted by user. | 597 | "Function to actually send to PROCESS the STRING submitted by user. |
| 598 | Usually this is just 'term-simple-send, but if your mode needs to | 598 | Usually this is just `term-simple-send', but if your mode needs to |
| 599 | massage the input string, this is your hook. This is called from | 599 | massage the input string, this is your hook. This is called from |
| 600 | the user command term-send-input. `term-simple-send' just sends | 600 | the user command `term-send-input'. `term-simple-send' just sends |
| 601 | the string plus a newline.") | 601 | the string plus a newline.") |
| 602 | 602 | ||
| 603 | (defcustom term-eol-on-send t | 603 | (defcustom term-eol-on-send t |
| @@ -607,16 +607,16 @@ See `term-send-input'." | |||
| 607 | :group 'term) | 607 | :group 'term) |
| 608 | 608 | ||
| 609 | (defcustom term-mode-hook '() | 609 | (defcustom term-mode-hook '() |
| 610 | "Called upon entry into term-mode | 610 | "Called upon entry into term mode. |
| 611 | This is run before the process is cranked up." | 611 | This is run before the process is cranked up." |
| 612 | :type 'hook | 612 | :type 'hook |
| 613 | :group 'term) | 613 | :group 'term) |
| 614 | 614 | ||
| 615 | (defcustom term-exec-hook '() | 615 | (defcustom term-exec-hook '() |
| 616 | "Called each time a process is exec'd by term-exec. | 616 | "Called each time a process is exec'd by `term-exec'. |
| 617 | This is called after the process is cranked up. It is useful for things that | 617 | This is called after the process is cranked up. It is useful for things that |
| 618 | must be done each time a process is executed in a term-mode buffer (e.g., | 618 | must be done each time a process is executed in a term mode buffer (e.g., |
| 619 | \(process-kill-without-query)). In contrast, the term-mode-hook is only | 619 | `process-kill-without-query'). In contrast, `term-mode-hook' is only |
| 620 | executed once when the buffer is created." | 620 | executed once when the buffer is created." |
| 621 | :type 'hook | 621 | :type 'hook |
| 622 | :group 'term) | 622 | :group 'term) |
| @@ -625,7 +625,7 @@ executed once when the buffer is created." | |||
| 625 | (defvar term-raw-map nil | 625 | (defvar term-raw-map nil |
| 626 | "Keyboard map for sending characters directly to the inferior process.") | 626 | "Keyboard map for sending characters directly to the inferior process.") |
| 627 | (defvar term-escape-char nil | 627 | (defvar term-escape-char nil |
| 628 | "Escape character for char-sub-mode of term mode. | 628 | "Escape character for char sub-mode of term mode. |
| 629 | Do not change it directly; use `term-set-escape-char' instead.") | 629 | Do not change it directly; use `term-set-escape-char' instead.") |
| 630 | (defvar term-raw-escape-map nil) | 630 | (defvar term-raw-escape-map nil) |
| 631 | 631 | ||