diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2013-10-25 14:07:34 +0200 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2013-10-25 14:07:34 +0200 |
commit | 3dab0a832c6b237c0173ac8b4d297df2af66eb92 (patch) | |
tree | e57ac0ad14f213c09fdd14999eec2efbcaf39cd8 /lisp/emacs-lisp | |
parent | 619a46f8d277f6ebb669f13287b620f5a2512ee0 (diff) | |
download | emacs-3dab0a832c6b237c0173ac8b4d297df2af66eb92.tar.gz emacs-3dab0a832c6b237c0173ac8b4d297df2af66eb92.tar.bz2 emacs-3dab0a832c6b237c0173ac8b4d297df2af66eb92.zip |
* emacs-lisp/ert.el (ert-run-tests-interactively):
Use `completing-read'. (Bug#9756)
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/ert.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/emacs-lisp/ert.el b/lisp/emacs-lisp/ert.el index c63c5324c9f..ed7633e2795 100644 --- a/lisp/emacs-lisp/ert.el +++ b/lisp/emacs-lisp/ert.el @@ -1881,11 +1881,11 @@ and how to display message." ;; defined without cl. (car ert--selector-history) "t"))) - (read-from-minibuffer (if (null default) - "Run tests: " - (format "Run tests (default %s): " default)) - nil nil t 'ert--selector-history - default nil)) + (completing-read (if (null default) + "Run tests: " + (format "Run tests (default %s): " default)) + obarray #'ert-test-boundp nil nil + 'ert--selector-history default nil)) nil)) (unless message-fn (setq message-fn 'message)) (let ((output-buffer-name output-buffer-name) |