diff options
| author | Michael Albinus | 2013-10-25 14:07:34 +0200 |
|---|---|---|
| committer | Michael Albinus | 2013-10-25 14:07:34 +0200 |
| commit | 3dab0a832c6b237c0173ac8b4d297df2af66eb92 (patch) | |
| tree | e57ac0ad14f213c09fdd14999eec2efbcaf39cd8 | |
| parent | 619a46f8d277f6ebb669f13287b620f5a2512ee0 (diff) | |
| download | emacs-3dab0a832c6b237c0173ac8b4d297df2af66eb92.tar.gz emacs-3dab0a832c6b237c0173ac8b4d297df2af66eb92.zip | |
* emacs-lisp/ert.el (ert-run-tests-interactively):
Use `completing-read'. (Bug#9756)
| -rw-r--r-- | lisp/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/emacs-lisp/ert.el | 10 |
2 files changed, 11 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c7da1c86416..031e0e40697 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-10-25 Michael Albinus <michael.albinus@gmx.de> | ||
| 2 | |||
| 3 | * emacs-lisp/ert.el (ert-run-tests-interactively): | ||
| 4 | Use `completing-read'. (Bug#9756) | ||
| 5 | |||
| 1 | 2013-10-25 Eli Zaretskii <eliz@gnu.org> | 6 | 2013-10-25 Eli Zaretskii <eliz@gnu.org> |
| 2 | 7 | ||
| 3 | * simple.el (line-move): Call line-move-1 instead of | 8 | * simple.el (line-move): Call line-move-1 instead of |
| @@ -86,7 +91,7 @@ | |||
| 86 | (ert--stats-set-test-and-result, ert-char-for-test-result) | 91 | (ert--stats-set-test-and-result, ert-char-for-test-result) |
| 87 | (ert-string-for-test-result, ert-run-tests-batch) | 92 | (ert-string-for-test-result, ert-run-tests-batch) |
| 88 | (ert--results-update-ewoc-hf, ert-run-tests-interactively): | 93 | (ert--results-update-ewoc-hf, ert-run-tests-interactively): |
| 89 | Handle skipped tests. | 94 | Handle skipped tests. (Bug#9803) |
| 90 | 95 | ||
| 91 | 2013-10-24 Glenn Morris <rgm@gnu.org> | 96 | 2013-10-24 Glenn Morris <rgm@gnu.org> |
| 92 | 97 | ||
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." | |||
| 1881 | ;; defined without cl. | 1881 | ;; defined without cl. |
| 1882 | (car ert--selector-history) | 1882 | (car ert--selector-history) |
| 1883 | "t"))) | 1883 | "t"))) |
| 1884 | (read-from-minibuffer (if (null default) | 1884 | (completing-read (if (null default) |
| 1885 | "Run tests: " | 1885 | "Run tests: " |
| 1886 | (format "Run tests (default %s): " default)) | 1886 | (format "Run tests (default %s): " default)) |
| 1887 | nil nil t 'ert--selector-history | 1887 | obarray #'ert-test-boundp nil nil |
| 1888 | default nil)) | 1888 | 'ert--selector-history default nil)) |
| 1889 | nil)) | 1889 | nil)) |
| 1890 | (unless message-fn (setq message-fn 'message)) | 1890 | (unless message-fn (setq message-fn 'message)) |
| 1891 | (let ((output-buffer-name output-buffer-name) | 1891 | (let ((output-buffer-name output-buffer-name) |