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

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

[elpa] externals/dired-preview 6bdcc34f68 52/67: Use "below" instead of


From: ELPA Syncer
Subject: [elpa] externals/dired-preview 6bdcc34f68 52/67: Use "below" instead of "bottom" for direction
Date: Sat, 8 Jul 2023 15:57:55 -0400 (EDT)

branch: externals/dired-preview
commit 6bdcc34f68a9a58113458c089a1838fcc219cb6a
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Use "below" instead of "bottom" for direction
    
    We want to show the preview below its Dired buffer, not at the bottom
    of the frame.  The latter is more confusing, such as when we have
    three windows side-by-side and the preview appears in a fourth window
    that cuts all three on the horizontal axis.
---
 dired-preview.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dired-preview.el b/dired-preview.el
index 4183080a14..303fbcc84b 100644
--- a/dired-preview.el
+++ b/dired-preview.el
@@ -190,7 +190,7 @@ checked against `split-width-threshold' or
             ((>= width (window-body-height)))
             ((>= width split-width-threshold)))
       `(:side right :dimension window-width :size 
,(dired-preview-return-window-size :width))
-    `(:side bottom :dimension window-height :size 
,(dired-preview-return-window-size :height))))
+    `(:side below :dimension window-height :size 
,(dired-preview-return-window-size :height))))
 
 (defun dired-preview-display-action-alist-dwim ()
   "Reference function for `dired-preview-display-action-alist-function'.



reply via email to

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