branch: externals/elpa
commit e5fefc7512e3a8104b3b83e6cee88ea5952e6110
Author: João Távora <joaotav...@gmail.com>
Commit: João Távora <joaotav...@gmail.com>

    Really unbreak eldoc-related tests
    
    * eglot-tests.el (eglot--eldoc-on-demand): Don't rely on
    return value of eldoc command.
---
 eglot-tests.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/eglot-tests.el b/eglot-tests.el
index 86d2f0c..c6d7ee2 100644
--- a/eglot-tests.el
+++ b/eglot-tests.el
@@ -422,8 +422,7 @@ Pass TIMEOUT to `eglot--with-timeout'."
 
 (defun eglot--eldoc-on-demand ()
   ;; Trick Eldoc 1.1.0 into accepting on-demand calls.
-  (let ((this-command nil) (last-command 'forward-char))
-    (should (eldoc))))
+  (eldoc t))
 
 (defun eglot--tests-force-full-eldoc ()
   (let ((origin (current-buffer)))

Reply via email to