mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 07:46:51 -04:00
; (visual-wrap-tests/line-numbers-align-to-wrap-prefix): Simplify.
This commit is contained in:
parent
5b8496400a
commit
f188e34d81
|
|
@ -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)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue