From: Eli Zaretskii Date: Sat, 3 Dec 2022 20:09:16 +0000 (+0200) Subject: ; * lisp/subr.el (posn-col-row): Revert inadvertent change. X-Git-Tag: emacs-29.0.90~1358 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2c4d92d30f6;p=emacs.git ; * lisp/subr.el (posn-col-row): Revert inadvertent change. --- diff --git a/lisp/subr.el b/lisp/subr.el index dc219a49a74..21f43092d42 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -1729,7 +1729,7 @@ and `event-end' functions." ((eq area 'horizontal-scroll-bar) (cons (scroll-bar-scale pair (window-width window)) 0)) (t - (if (and (windowp frame-or-window) use-window) + (if use-window (cons (/ (car pair) (window-font-width window)) (/ (cdr pair) (window-font-height window))) ;; FIXME: This should take line-spacing properties on