diff options
| author | Lars Ingebrigtsen | 2016-02-13 16:28:26 +1100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2016-02-13 16:28:26 +1100 |
| commit | 97d76d9b6c9b189c6a69afc191dd7b6a35332ce1 (patch) | |
| tree | f610135f2978bf9fd4af47b791fc154d2b8816f4 | |
| parent | 8a18bb111a0253ed0d4a92a1e16d859aad27c33e (diff) | |
| download | emacs-97d76d9b6c9b189c6a69afc191dd7b6a35332ce1.tar.gz emacs-97d76d9b6c9b189c6a69afc191dd7b6a35332ce1.zip | |
Remove compat code from auth-source
* lisp/gnus/auth-source.el (auth-source-read-char-choice):
Remove compat code.
| -rw-r--r-- | 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 32b39b924f9..b9341f5ce8e 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)." | |||
| 372 | k) | 372 | k) |
| 373 | 373 | ||
| 374 | (while (not (memq k choices)) | 374 | (while (not (memq k choices)) |
| 375 | (setq k (cond | 375 | (setq k (read-char-choice full-prompt choices))) |
| 376 | ((fboundp 'read-char-choice) | ||
| 377 | (read-char-choice full-prompt choices)) | ||
| 378 | (t (message "%s" full-prompt) | ||
| 379 | (setq k (read-char)))))) | ||
| 380 | k))) | 376 | k))) |
| 381 | 377 | ||
| 382 | ;; (auth-source-pick nil :host "any" :port 'imap :user "joe") | 378 | ;; (auth-source-pick nil :host "any" :port 'imap :user "joe") |