From: Noam Postavsky Date: Mon, 30 Jul 2018 01:10:31 +0000 (-0400) Subject: * lisp/term.el (term-read-noecho): Mark obsolete. X-Git-Tag: emacs-27.0.90~4664^2~2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bd36ab560d5efcc5853e455c2312cf1a104e78ea;p=emacs.git * lisp/term.el (term-read-noecho): Mark obsolete. --- diff --git a/etc/NEWS b/etc/NEWS index 31ccb447362..f1ea8356790 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -269,6 +269,11 @@ better emulate 'M-.' in both Bash and zsh, since the former counts from the beginning of the arguments, while the latter counts from the end. +** Term + +--- +*** 'term-read-noecho' is now obsolete, use 'read-passwd' instead. + ** Flymake +++ diff --git a/lisp/term.el b/lisp/term.el index e90ff457ac6..9f8f1f703a6 100644 --- a/lisp/term.el +++ b/lisp/term.el @@ -2216,6 +2216,7 @@ filter and C-g is pressed, this function returns nil rather than a string). Note that the keystrokes comprising the text can still be recovered \(temporarily) with \\[view-lossage]. This may be a security bug for some applications." + (declare (obsolete read-passwd "27.1")) (let ((ans "") (c 0) (echo-keystrokes 0)