changeset 58588:a44a4cdb021d

(comint-read-noecho): Add trivial compatibility definition.
author Richard M. Stallman <rms@gnu.org>
date Sat, 27 Nov 2004 19:02:14 +0000
parents 275bfc016770
children f72b92ec53da
files lisp/comint.el
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/comint.el	Sat Nov 27 19:01:41 2004 +0000
+++ b/lisp/comint.el	Sat Nov 27 19:02:14 2004 +0000
@@ -1899,6 +1899,10 @@
       (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.