diff options
| author | Stefan Monnier | 2018-07-18 10:23:20 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2018-07-18 10:23:20 -0400 |
| commit | 04a32fa60bead4359bc9353af67f26958c795593 (patch) | |
| tree | 4252eb9289456b71892afc059162f0a04930ab72 /doc | |
| parent | 343b29381cc53d53b1a2c1fdfacf0f5c4761f505 (diff) | |
| download | emacs-04a32fa60bead4359bc9353af67f26958c795593.tar.gz emacs-04a32fa60bead4359bc9353af67f26958c795593.zip | |
* lisp/comint.el: Clean up namespace
(shell-strip-ctrl-m): Mark as obsolete.
(comint-send-invisible): Rename from `send-invisible`.
(send-invisible): Make it an obsolete alias.
* lisp/net/rlogin.el: Adjust accordingly; Use lexical-binding.
* lisp/shell.el: Adjust accordingly.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/misc.texi | 4 | ||||
| -rw-r--r-- | doc/misc/efaq.texi | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi index 3d3441401dd..236cb07785c 100644 --- a/doc/emacs/misc.texi +++ b/doc/emacs/misc.texi | |||
| @@ -1026,8 +1026,8 @@ Move backward across one shell command, but not beyond the current line | |||
| 1026 | Ask the shell for its working directory, and update the Shell buffer's | 1026 | Ask the shell for its working directory, and update the Shell buffer's |
| 1027 | default directory. @xref{Directory Tracking}. | 1027 | default directory. @xref{Directory Tracking}. |
| 1028 | 1028 | ||
| 1029 | @item M-x send-invisible @key{RET} @var{text} @key{RET} | 1029 | @item M-x comint-send-invisible @key{RET} @var{text} @key{RET} |
| 1030 | @findex send-invisible | 1030 | @findex comint-send-invisible |
| 1031 | Send @var{text} as input to the shell, after reading it without | 1031 | Send @var{text} as input to the shell, after reading it without |
| 1032 | echoing. This is useful when a shell command runs a program that asks | 1032 | echoing. This is useful when a shell command runs a program that asks |
| 1033 | for a password. | 1033 | for a password. |
diff --git a/doc/misc/efaq.texi b/doc/misc/efaq.texi index 903c56cef90..5b432d5b2fb 100644 --- a/doc/misc/efaq.texi +++ b/doc/misc/efaq.texi | |||
| @@ -2988,7 +2988,7 @@ Emacs compiled on a 64-bit machine can handle much larger buffers. | |||
| 2988 | @cindex Shell buffer, echoed commands and @samp{^M} in | 2988 | @cindex Shell buffer, echoed commands and @samp{^M} in |
| 2989 | @cindex Echoed commands in @code{shell-mode} | 2989 | @cindex Echoed commands in @code{shell-mode} |
| 2990 | 2990 | ||
| 2991 | Try typing @kbd{M-x shell-strip-ctrl-m @key{RET}} while in @code{shell-mode} to | 2991 | Try typing @kbd{M-x comint-strip-ctrl-m @key{RET}} while in @code{shell-mode} to |
| 2992 | make them go away. If that doesn't work, you have several options: | 2992 | make them go away. If that doesn't work, you have several options: |
| 2993 | 2993 | ||
| 2994 | For @code{tcsh}, put this in your @file{.cshrc} (or @file{.tcshrc}) | 2994 | For @code{tcsh}, put this in your @file{.cshrc} (or @file{.tcshrc}) |
| @@ -3041,7 +3041,7 @@ characters from the buffer by adding this to your @file{.emacs} init | |||
| 3041 | file: | 3041 | file: |
| 3042 | 3042 | ||
| 3043 | @smalllisp | 3043 | @smalllisp |
| 3044 | (add-hook 'comint-output-filter-functions 'shell-strip-ctrl-m) | 3044 | (add-hook 'comint-output-filter-functions #'comint-strip-ctrl-m) |
| 3045 | @end smalllisp | 3045 | @end smalllisp |
| 3046 | 3046 | ||
| 3047 | On a related note: if your shell is echoing your input line in the shell | 3047 | On a related note: if your shell is echoing your input line in the shell |