branch: master
commit 0e821a20a4f9478d76b32b624349078f8ffee1d4
Author: Oleh Krehel <ohwoeo...@gmail.com>
Commit: Oleh Krehel <ohwoeo...@gmail.com>

    ace-window.el (aw-offset): use inhibit-field-text-motion t
    
    Fixes #12.
---
 ace-window.el |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ace-window.el b/ace-window.el
index 96aa13f..3d0c38f 100644
--- a/ace-window.el
+++ b/ace-window.el
@@ -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

Reply via email to