Skip to content

Commit

Permalink
ace-window.el (aw-offset): use inhibit-field-text-motion t
Browse files Browse the repository at this point in the history
Fixes #12.
  • Loading branch information
abo-abo committed Nov 21, 2014
1 parent b7b8e72 commit 0e821a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ace-window.el
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,8 @@ Windows are numbered top down, left to right."
The point is writable, i.e. it's not part of space after newline."
(let ((h (window-hscroll window))
(beg (window-start window))
(end (window-end window)))
(end (window-end window))
(inhibit-field-text-motion t))
(with-current-buffer
(window-buffer window)
(save-excursion
Expand Down

0 comments on commit 0e821a2

Please sign in to comment.