diff options
| author | Lars Ingebrigtsen | 2019-07-27 14:18:27 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-07-27 14:18:27 +0200 |
| commit | 0154e83a38071fafd7b32f2c3b5e92d850a617e4 (patch) | |
| tree | bf223af9cf86650a609298600892116bd0b33ba9 /doc/lispref/processes.texi | |
| parent | d4fce7394345233026e6b427d90e0debe6c3e89e (diff) | |
| download | emacs-0154e83a38071fafd7b32f2c3b5e92d850a617e4.tar.gz emacs-0154e83a38071fafd7b32f2c3b5e92d850a617e4.zip | |
Allow serial-term to take an optional argument for line-mode
* lisp/term.el (serial-term): Allow taking an optional argument to
avoid term-raw-mode (bug#24922).
* doc/lispref/processes.texi (Serial Ports): Document it.
Diffstat (limited to 'doc/lispref/processes.texi')
| -rw-r--r-- | doc/lispref/processes.texi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/lispref/processes.texi b/doc/lispref/processes.texi index ebc31c597e6..7a696f7c3ea 100644 --- a/doc/lispref/processes.texi +++ b/doc/lispref/processes.texi | |||
| @@ -3038,7 +3038,7 @@ for a process object representing a serial port connection. | |||
| 3038 | 3038 | ||
| 3039 | Serial ports are available on GNU/Linux, Unix, and MS Windows systems. | 3039 | Serial ports are available on GNU/Linux, Unix, and MS Windows systems. |
| 3040 | 3040 | ||
| 3041 | @deffn Command serial-term port speed | 3041 | @deffn Command serial-term port speed &optional line-mode |
| 3042 | Start a terminal-emulator for a serial port in a new buffer. | 3042 | Start a terminal-emulator for a serial port in a new buffer. |
| 3043 | @var{port} is the name of the serial port to connect to. For | 3043 | @var{port} is the name of the serial port to connect to. For |
| 3044 | example, this could be @file{/dev/ttyS0} on Unix. On MS Windows, this | 3044 | example, this could be @file{/dev/ttyS0} on Unix. On MS Windows, this |
| @@ -3051,6 +3051,8 @@ Lisp strings). | |||
| 3051 | is a common value. The buffer is in Term mode; see @ref{Term Mode,,, | 3051 | is a common value. The buffer is in Term mode; see @ref{Term Mode,,, |
| 3052 | emacs, The GNU Emacs Manual}, for the commands to use in that buffer. | 3052 | emacs, The GNU Emacs Manual}, for the commands to use in that buffer. |
| 3053 | You can change the speed and the configuration in the mode line menu. | 3053 | You can change the speed and the configuration in the mode line menu. |
| 3054 | If @var{line-mode} is non-@code{nil}, @code{term-line-mode} is used; | ||
| 3055 | otherwise @code{term-raw-mode} is used. | ||
| 3054 | @end deffn | 3056 | @end deffn |
| 3055 | 3057 | ||
| 3056 | @defun make-serial-process &rest args | 3058 | @defun make-serial-process &rest args |