aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorStefan Monnier2018-07-18 10:23:20 -0400
committerStefan Monnier2018-07-18 10:23:20 -0400
commit04a32fa60bead4359bc9353af67f26958c795593 (patch)
tree4252eb9289456b71892afc059162f0a04930ab72 /doc
parent343b29381cc53d53b1a2c1fdfacf0f5c4761f505 (diff)
downloademacs-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.texi4
-rw-r--r--doc/misc/efaq.texi4
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
1026Ask the shell for its working directory, and update the Shell buffer's 1026Ask the shell for its working directory, and update the Shell buffer's
1027default directory. @xref{Directory Tracking}. 1027default 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
1031Send @var{text} as input to the shell, after reading it without 1031Send @var{text} as input to the shell, after reading it without
1032echoing. This is useful when a shell command runs a program that asks 1032echoing. This is useful when a shell command runs a program that asks
1033for a password. 1033for 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
2991Try typing @kbd{M-x shell-strip-ctrl-m @key{RET}} while in @code{shell-mode} to 2991Try typing @kbd{M-x comint-strip-ctrl-m @key{RET}} while in @code{shell-mode} to
2992make them go away. If that doesn't work, you have several options: 2992make them go away. If that doesn't work, you have several options:
2993 2993
2994For @code{tcsh}, put this in your @file{.cshrc} (or @file{.tcshrc}) 2994For @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
3041file: 3041file:
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
3047On a related note: if your shell is echoing your input line in the shell 3047On a related note: if your shell is echoing your input line in the shell