From e31d2d890abd08ae6152d908249321f609d13f48 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Thu, 22 Nov 2007 20:14:13 +0000 Subject: [PATCH] (posn-col-row): Make the `default-value' use explicit. --- lisp/ChangeLog | 2 ++ lisp/subr.el | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index cfda8a8f167..452a9847f6c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2007-11-22 Stefan Monnier + * 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'. diff --git a/lisp/subr.el b/lisp/subr.el index de36d0b9035..59be9164b60 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -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)))))) -- 2.39.2