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/misc | |
| 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/misc')
| -rw-r--r-- | doc/misc/efaq.texi | 4 |
1 files changed, 2 insertions, 2 deletions
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 |