emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/ace-window 95e478e 57/92: ace-window.el (aw-offset): Us


From: Stefan Monnier
Subject: [elpa] externals/ace-window 95e478e 57/92: ace-window.el (aw-offset): Use the fix in all modes, not just shell-mode
Date: Wed, 17 Mar 2021 18:39:22 -0400 (EDT)

branch: externals/ace-window
commit 95e478e97c83fb6a58dd899ff18f82704e065eaa
Author: Oleh Krehel <ohwoeowho@gmail.com>
Commit: Oleh Krehel <ohwoeowho@gmail.com>

    ace-window.el (aw-offset): Use the fix in all modes, not just shell-mode
    
    Fixes #131
    Fixes #134
---
 ace-window.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/ace-window.el b/ace-window.el
index c0fedfc..e382b3c 100644
--- a/ace-window.el
+++ b/ace-window.el
@@ -771,8 +771,7 @@ The point is writable, i.e. it's not part of space after 
newline."
     (with-current-buffer (window-buffer window)
       (save-excursion
         (goto-char beg)
-        (when (member major-mode '(shell-mode))
-          (forward-line (- (aw--face-rel-height) 1)))
+        (forward-line (- (aw--face-rel-height) 1))
         (while (and (< (point) end)
                     (< (- (line-end-position)
                           (line-beginning-position))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]