From 0e821a20a4f9478d76b32b624349078f8ffee1d4 Mon Sep 17 00:00:00 2001 From: Oleh Krehel Date: Fri, 21 Nov 2014 11:54:04 +0100 Subject: [PATCH] ace-window.el (aw-offset): use inhibit-field-text-motion t Fixes #12. --- ace-window.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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