mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-21 20:37:38 +00:00
(posn-col-row): Use let*.
This commit is contained in:
parent
a4e104bf5c
commit
9ba60df97f
1 changed files with 3 additions and 3 deletions
|
|
@ -437,9 +437,9 @@ corresponds to the vertical position of the click in the scroll bar."
|
|||
(car (nth 1 position)))
|
||||
'horizontal-scroll-bar)
|
||||
(cons (scroll-bar-scale pair (window-width window)) 0)
|
||||
(let ((frame (if (framep window) window (window-frame window)))
|
||||
(x (/ (car pair) (frame-char-width frame)))
|
||||
(y (/ (cdr pair) (frame-char-height frame))))
|
||||
(let* ((frame (if (framep window) window (window-frame window)))
|
||||
(x (/ (car pair) (frame-char-width frame)))
|
||||
(y (/ (cdr pair) (frame-char-height frame))))
|
||||
(cons x y))))))
|
||||
|
||||
(defsubst posn-timestamp (position)
|
||||
|
|
|
|||
Loading…
Reference in a new issue