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

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

[elpa] externals/ace-window 8d71b8f 46/92: ace-window.el (aw--lead-overl


From: Stefan Monnier
Subject: [elpa] externals/ace-window 8d71b8f 46/92: ace-window.el (aw--lead-overlay): Fix warning
Date: Wed, 17 Mar 2021 18:39:19 -0400 (EDT)

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

    ace-window.el (aw--lead-overlay): Fix warning
---
 ace-window.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ace-window.el b/ace-window.el
index 37a8ee6..41730b3 100644
--- a/ace-window.el
+++ b/ace-window.el
@@ -326,7 +326,7 @@ LEAF is (PT . WND)."
                   ;; If this line is empty, use the previous line so we
                   ;; have space for the overlay.
                   (when (equal (point) (point-max))
-                    (previous-line))
+                    (forward-line -1))
                   (point)))
                (ol (make-overlay pt (1+ pt) (window-buffer wnd))))
           (overlay-put ol 'display (aw--overlay-str wnd pt path))



reply via email to

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