summaryrefslogtreecommitdiff
path: root/lisp/comint.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2004-11-27 19:02:14 +0000
committerRichard M. Stallman <rms@gnu.org>2004-11-27 19:02:14 +0000
commit27763236fb46957cfe2884a52a403df14c9b808a (patch)
tree9880170fbc63907b887a84e4bd00aff214739c42 /lisp/comint.el
parent1d7bfe84027e97092d8af2113815c93d5b3a174c (diff)
downloademacs-27763236fb46957cfe2884a52a403df14c9b808a.tar.gz
(comint-read-noecho): Add trivial compatibility definition.
Diffstat (limited to 'lisp/comint.el')
-rw-r--r--lisp/comint.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/comint.el b/lisp/comint.el
index 931e37d764c..9f93fe75b1f 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -1899,6 +1899,10 @@ prompt skip is done by skipping text matching the regular expression
(forward-line 0)
(goto-char (comint-line-beginning-position))))
+;; For compatibility.
+(defun comint-read-noecho (prompt &optional ignore)
+ (read-passwd prompt))
+
;; These three functions are for entering text you don't want echoed or
;; saved -- typically passwords to ftp, telnet, or somesuch.
;; Just enter m-x send-invisible and type in your line.