]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/term.el (term-read-noecho): Mark obsolete.
authorNoam Postavsky <npostavs@gmail.com>
Mon, 30 Jul 2018 01:10:31 +0000 (21:10 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Mon, 30 Jul 2018 01:13:48 +0000 (21:13 -0400)
etc/NEWS
lisp/term.el

index 31ccb447362d70a1990981ab81b2ba872fef67c6..f1ea835679030208dbf889bf5610681bef98d9ac 100644 (file)
--- 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
 
 +++
index e90ff457ac65eaf1c64f85a970a57d7e14a228ec..9f8f1f703a6cd4b83d71dddb00f86a4b4f06a3f3 100644 (file)
@@ -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)