(posn-col-row): Make the `default-value' use explicit.
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 22 Nov 2007 20:14:13 +0000 (20:14 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 22 Nov 2007 20:14:13 +0000 (20:14 +0000)
lisp/ChangeLog
lisp/subr.el

index cfda8a8..452a984 100644 (file)
@@ -1,5 +1,7 @@
 2007-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+       * subr.el (posn-col-row): Make the `default-value' use explicit.
+
        * window.el (balance-windows): Remove unused var `counter'.
        (bw-balance-sub): Remove unused var `lastchild'.
        (split-window-vertically): Remove unused var `switch'.
index de36d0b..59be916 100644 (file)
@@ -860,7 +860,8 @@ and `event-end' functions."
             (x (/ (car pair) (frame-char-width frame)))
             (y (/ (cdr pair) (+ (frame-char-height frame)
                                 (or (frame-parameter frame 'line-spacing)
-                                    default-line-spacing
+                                     ;; FIXME: Why the `default'?
+                                    (default-value 'line-spacing)
                                     0)))))
        (cons x y))))))