emacs-diffs
[Top][All Lists]
Advanced

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

emacs-29 2c4d92d30f: ; * lisp/subr.el (posn-col-row): Revert inadvertent


From: Eli Zaretskii
Subject: emacs-29 2c4d92d30f: ; * lisp/subr.el (posn-col-row): Revert inadvertent change.
Date: Sat, 3 Dec 2022 15:10:03 -0500 (EST)

branch: emacs-29
commit 2c4d92d30f65860604e4a240edbc109198cfb767
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; * lisp/subr.el (posn-col-row): Revert inadvertent change.
---
 lisp/subr.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/subr.el b/lisp/subr.el
index dc219a49a7..21f43092d4 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



reply via email to

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