master f188e34d819 2/2: ; (visual-wrap-tests/line-numbers-align-to-wrap-prefix): Simplify.
Eli Zaretskii <[email protected]>
| Newsgroups | gmane.emacs.diffs |
|---|---|
| Message-ID | <[email protected]> |
branch: master commit f188e34d8193b9e9a848fb7a4253605f96a980b4 Author: Eli Zaretskii <[email protected]> Commit: Eli Zaretskii <[email protected]> ; (visual-wrap-tests/line-numbers-align-to-wrap-prefix): Simplify. --- test/lisp/visual-wrap-tests.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/lisp/visual-wrap-tests.el b/test/lisp/visual-wrap-tests.el index 818b834782f..a1408396b0f 100644 --- a/test/lisp/visual-wrap-tests.el +++ b/test/lisp/visual-wrap-tests.el @@ -206,7 +206,8 @@ property is installed on line 1. See bug#81039." (ert-deftest visual-wrap-tests/line-numbers-align-to-wrap-prefix () "With line numbers, `wrap-prefix' `:align-to' aligns from text start." - (skip-unless (not (frame-initial-p))) + ;; `posn-point' returns nil in batch sessions. + (skip-when (frame-initial-p)) (let ((buffer (generate-new-buffer " *visual-wrap-test*"))) (unwind-protect (let ((window (display-buffer buffer)))