summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Nelson <ultrono@gmail.com>2025-04-02 09:08:45 +0200
committerPaul Nelson <ultrono@gmail.com>2025-04-02 09:08:45 +0200
commitf1395185fdcb418edb2f0d813ecccf0e210d11b1 (patch)
tree84cf19cdb699bbf45cfeac84401df4c500822401
parent9fd8086ad72a8830a9bf861bc313f98a8c4c9798 (diff)
Clarify docstring of doc-dual-view--order-windows
* doc-dual-view.el (doc-dual-view--order-windows): Make the docstring more precise about how windows are ordered: first by horizontal position (leftmost), then by vertical position (topmost) when windows have the same horizontal position.
-rw-r--r--doc-dual-view.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc-dual-view.el b/doc-dual-view.el
index 5cc2cd3..870c30b 100644
--- a/doc-dual-view.el
+++ b/doc-dual-view.el
@@ -67,7 +67,7 @@ redisplay-func)."
(function :tag "Max Page Function"))))
(defun doc-dual-view--order-windows (windows)
- "Order WINDOWS based on their position, leftmost (or topmost if equal) first."
+ "Order WINDOWS based on their position: leftmost, then topmost."
(sort windows
(lambda (window-a window-b)
(let* ((edges-a (window-edges window-a))