[gnus git] branch master updated: n0-13-96-gcd7c81a =1= Don't use the dropdown-list library.
Ted Zlatanov <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via cd7c81afe9769a8e091390ad2e7201e67f7f1d8c (commit)
from 5bb9d0c1a792e150752e9e90d74aa87fa46f97a1 (commit)
- Log -----------------------------------------------------------------
commit cd7c81afe9769a8e091390ad2e7201e67f7f1d8c
Author: Ted Zlatanov <[email protected]>
Date: Wed Mar 9 15:01:36 2011 -0600
Don't use the dropdown-list library.
* auth-source.el (auth-source-read-char-choice): Remove `dropdown-list'.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 96d521b..ee21234 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -4,7 +4,7 @@
character choice using `dropdown-list', `read-char-choice', or
`read-char'. It appends "[a/b/c] " to the prompt if the choices were
'(?a ?b ?c). The `dropdown-list' support is disabled for now. Use
- `eval-when-compile' to load `dropdown-list'.
+ `eval-when-compile' to load `dropdown-list'. Remove `dropdown-list'.
(auth-source-netrc-saver): Use it.
(auth-source-pick-first-password): New convenience function.
diff --git a/lisp/auth-source.el b/lisp/auth-source.el
index e2a3ce5..fff0356 100644
--- a/lisp/auth-source.el
+++ b/lisp/auth-source.el
@@ -44,7 +44,6 @@
(require 'gnus-util)
(require 'assoc)
(eval-when-compile (require 'cl))
-(eval-when-compile (require 'dropdown-list nil t))
(eval-and-compile
(or (ignore-errors (require 'eieio))
;; gnus-fallback-lib/ from gnus/lisp/gnus-fallback-lib
@@ -313,12 +312,6 @@ with \"[a/b/c] \" if CHOICES is '\(?a ?b ?c\)."
(while (not (memq k choices))
(setq k (cond
- ((and nil (featurep 'dropdown-list))
- (let* ((blank (fill (copy-sequence prompt) ?.))
- (dlc (cons (format "%s %c" prompt (car choices))
- (loop for c in (cdr choices)
- collect (format "%s %c" blank c)))))
- (nth (dropdown-list dlc) choices)))
((fboundp 'read-char-choice)
(read-char-choice full-prompt choices))
(t (message "%s" full-prompt)
-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.
Summary of changes:
lisp/ChangeLog | 2 +-
lisp/auth-source.el | 7 -------
2 files changed, 1 insertions(+), 8 deletions(-)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".
The branch, master has been updated
hooks/post-receive
--
Gnus Project