emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master bd36ab5: * lisp/term.el (term-read-noecho): Mark ob


From: Noam Postavsky
Subject: [Emacs-diffs] master bd36ab5: * lisp/term.el (term-read-noecho): Mark obsolete.
Date: Sun, 29 Jul 2018 21:14:14 -0400 (EDT)

branch: master
commit bd36ab560d5efcc5853e455c2312cf1a104e78ea
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>

    * lisp/term.el (term-read-noecho): Mark obsolete.
---
 etc/NEWS     | 5 +++++
 lisp/term.el | 1 +
 2 files changed, 6 insertions(+)

diff --git a/etc/NEWS b/etc/NEWS
index 31ccb44..f1ea835 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 e90ff45..9f8f1f7 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]