emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 97d76d9 01/12: Remove compat code from auth-source


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master 97d76d9 01/12: Remove compat code from auth-source
Date: Sat, 13 Feb 2016 06:16:46 +0000

branch: master
commit 97d76d9b6c9b189c6a69afc191dd7b6a35332ce1
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    Remove compat code from auth-source
    
    * lisp/gnus/auth-source.el (auth-source-read-char-choice):
    Remove compat code.
---
 lisp/gnus/auth-source.el |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/lisp/gnus/auth-source.el b/lisp/gnus/auth-source.el
index 32b39b9..b9341f5 100644
--- a/lisp/gnus/auth-source.el
+++ b/lisp/gnus/auth-source.el
@@ -372,11 +372,7 @@ with \"[a/b/c] \" if CHOICES is \(?a ?b ?c)."
            k)
 
       (while (not (memq k choices))
-        (setq k (cond
-                 ((fboundp 'read-char-choice)
-                  (read-char-choice full-prompt choices))
-                 (t (message "%s" full-prompt)
-                    (setq k (read-char))))))
+        (setq k (read-char-choice full-prompt choices)))
       k)))
 
 ;; (auth-source-pick nil :host "any" :port 'imap :user "joe")



reply via email to

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