projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fb9a03
)
; * lisp/subr.el (posn-col-row): Revert inadvertent change.
author
Eli Zaretskii
<eliz@gnu.org>
Sat, 3 Dec 2022 20:09:16 +0000
(22:09 +0200)
committer
Eli Zaretskii
<eliz@gnu.org>
Sat, 3 Dec 2022 20:09:16 +0000
(22:09 +0200)
lisp/subr.el
patch
|
blob
|
history
diff --git
a/lisp/subr.el
b/lisp/subr.el
index dc219a49a743335506792628aceceae1774b156e..21f43092d4282e2d4dca96f38acb2a0d66973634 100644
(file)
--- 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