summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-05-23 03:15:35 +0000
committerRichard M. Stallman <rms@gnu.org>1994-05-23 03:15:35 +0000
commit9ba60df97fcb71c5b27df6dd296aa41fb1ec9ed7 (patch)
treedc38c0dc5698c2fbbb7657fe0e7051126e9564ba /lisp
parenta4e104bf5ccd3e19a16cdb6bad79edff86fba3cb (diff)
downloademacs-9ba60df97fcb71c5b27df6dd296aa41fb1ec9ed7.tar.gz
(posn-col-row): Use let*.
Diffstat (limited to 'lisp')
-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."
(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)