Skip to content

Commit 0e821a2

Browse files
committed
ace-window.el (aw-offset): use inhibit-field-text-motion t
Fixes #12.
1 parent b7b8e72 commit 0e821a2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ace-window.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,8 @@ Windows are numbered top down, left to right."
346346
The point is writable, i.e. it's not part of space after newline."
347347
(let ((h (window-hscroll window))
348348
(beg (window-start window))
349-
(end (window-end window)))
349+
(end (window-end window))
350+
(inhibit-field-text-motion t))
350351
(with-current-buffer
351352
(window-buffer window)
352353
(save-excursion

0 commit comments

Comments
 (0)