aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/subr.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index c281a64843d..6665bcd05f7 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -437,9 +437,9 @@ corresponds to the vertical position of the click in the scroll bar."
437 (car (nth 1 position))) 437 (car (nth 1 position)))
438 'horizontal-scroll-bar) 438 'horizontal-scroll-bar)
439 (cons (scroll-bar-scale pair (window-width window)) 0) 439 (cons (scroll-bar-scale pair (window-width window)) 0)
440 (let ((frame (if (framep window) window (window-frame window))) 440 (let* ((frame (if (framep window) window (window-frame window)))
441 (x (/ (car pair) (frame-char-width frame))) 441 (x (/ (car pair) (frame-char-width frame)))
442 (y (/ (cdr pair) (frame-char-height frame)))) 442 (y (/ (cdr pair) (frame-char-height frame))))
443 (cons x y)))))) 443 (cons x y))))))
444 444
445(defsubst posn-timestamp (position) 445(defsubst posn-timestamp (position)