]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
authorDmitry Gutov <dgutov@yandex.ru>
Wed, 26 Feb 2014 02:02:21 +0000 (04:02 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Wed, 26 Feb 2014 02:02:21 +0000 (04:02 +0200)
result of `completing-read' in the interactive form.

Fixes: debbugs:16854
lisp/ChangeLog
lisp/emacs-lisp/ert.el

index 07812f6fcedf9a19bf2392136f78eb52c014169a..56ff5b1c506163e98405383207148003b82f4c9d 100644 (file)
@@ -1,3 +1,8 @@
+2014-02-26  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
+       result of `completing-read' in the interactive form.  (Bug#16854)
+
 2014-02-25  Glenn Morris  <rgm@gnu.org>
 
        * image.el (image-animate, image-animate-timeout):
index ee058a8f607d2e2b782e7b2a7e87c9e0b5b7ec51..34041aab9a8ca37e29a9a62d78ab172cbaeaee33 100644 (file)
@@ -1882,11 +1882,12 @@ and how to display message."
                             ;; defined without cl.
                             (car ert--selector-history)
                           "t")))
-           (completing-read (if (null default)
-                               "Run tests: "
-                             (format "Run tests (default %s): " default))
-                           obarray #'ert-test-boundp nil nil
-                           'ert--selector-history default nil))
+           (read
+            (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)