branch: externals/matlab-mode
commit 432707abf51b701b59606a7a31548a4e8f59da3e
Author: John Ciolfi <[email protected]>
Commit: John Ciolfi <[email protected]>
t-utils.el: doc standard-output issue with t-utils-test-xr
---
tests/t-utils.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/t-utils.el b/tests/t-utils.el
index fe26d378d5..467bd40084 100644
--- a/tests/t-utils.el
+++ b/tests/t-utils.el
@@ -407,6 +407,8 @@ for this example is:
;; the result and instead returns the result via global
t-utils--xr-impl-result. This
;; prevents the result text from being displayed when run via
emacs --batch. However,
;; we still see 'nil' displayed, but I don't think there's much we
can do about that.
+ ;; Note, using: (let ((standard-output (lambda (_))))
(eval-last-sexp nil))
+ ;; still causes nil to be displayed when run from emacs --batch.
(setq t-utils--xr-impl-result-active t)
(condition-case err
(progn