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

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

[nongnu] elpa/recomplete 9d64b65855 10/14: Cleanup: use window-body-widt


From: ELPA Syncer
Subject: [nongnu] elpa/recomplete 9d64b65855 10/14: Cleanup: use window-body-width
Date: Thu, 7 Jul 2022 12:02:21 -0400 (EDT)

branch: elpa/recomplete
commit 9d64b65855464bd92ccecf93c19db8b1fc12d7a3
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>

    Cleanup: use window-body-width
    
    More explicit and whats intended.
---
 recomplete.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/recomplete.el b/recomplete.el
index 67b8ed8256..09f3c43c14 100644
--- a/recomplete.el
+++ b/recomplete.el
@@ -498,7 +498,8 @@ Argument CYCLE-OFFSET The offset for cycling words,
                 (let
                   (
                     (msg-width (string-width msg-text))
-                    (display-width (- (window-width (minibuffer-window)) 
(length msg-prefix))))
+                    (display-width
+                      (- (window-body-width (minibuffer-window)) (length 
msg-prefix))))
                   (when (> msg-width display-width)
                     (let
                       (



reply via email to

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