mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
; * lisp/window.el (window--frame-landscape-p): Improve docstring.
This commit is contained in:
parent
4dc7d6056f
commit
38d0ac8f67
1 changed files with 3 additions and 2 deletions
|
|
@ -7586,8 +7586,9 @@ strategy."
|
|||
|
||||
(defun window--frame-landscape-p (&optional frame)
|
||||
"Non-nil if FRAME is wider than it is tall.
|
||||
|
||||
On text frames, uses a heuristic for character height and width."
|
||||
This means actually wider on the screen, not character-wise.
|
||||
On text frames, use the heuristic that characters are roughtly twice as
|
||||
tall as they are wide."
|
||||
(if (display-graphic-p frame)
|
||||
(> (frame-pixel-width frame) (frame-pixel-height frame))
|
||||
;; On a terminal, displayed characters are usually roughly twice as
|
||||
|
|
|
|||
Loading…
Reference in a new issue