changeset 86341:5a317f281e6c

(posn-col-row): Make the `default-value' use explicit.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 22 Nov 2007 20:14:13 +0000
parents 7276bf307840
children 79a4d6e44352
files lisp/ChangeLog lisp/subr.el
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Thu Nov 22 20:13:35 2007 +0000
+++ b/lisp/ChangeLog	Thu Nov 22 20:14:13 2007 +0000
@@ -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'.
--- a/lisp/subr.el	Thu Nov 22 20:13:35 2007 +0000
+++ b/lisp/subr.el	Thu Nov 22 20:14:13 2007 +0000
@@ -860,7 +860,8 @@
 	     (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))))))