summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2022-12-03 22:09:16 +0200
committerEli Zaretskii <eliz@gnu.org>2022-12-03 22:09:16 +0200
commit2c4d92d30f65860604e4a240edbc109198cfb767 (patch)
tree8d0a0eb7f86348324b0594fda75b7adcbe6ccdff
parent6fb9a03cbdf9e497a78374c6c7cf3222e8e215dd (diff)
downloademacs-2c4d92d30f65860604e4a240edbc109198cfb767.tar.gz
; * lisp/subr.el (posn-col-row): Revert inadvertent change.
-rw-r--r--lisp/subr.el2
1 files changed, 1 insertions, 1 deletions
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