diff options
author | Eli Zaretskii <eliz@gnu.org> | 2022-12-03 22:09:16 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2022-12-03 22:09:16 +0200 |
commit | 2c4d92d30f65860604e4a240edbc109198cfb767 (patch) | |
tree | 8d0a0eb7f86348324b0594fda75b7adcbe6ccdff | |
parent | 6fb9a03cbdf9e497a78374c6c7cf3222e8e215dd (diff) | |
download | emacs-2c4d92d30f65860604e4a240edbc109198cfb767.tar.gz |
; * lisp/subr.el (posn-col-row): Revert inadvertent change.
-rw-r--r-- | lisp/subr.el | 2 |
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 |