From: Stefan Monnier Date: Thu, 22 Nov 2007 20:14:13 +0000 (+0000) Subject: (posn-col-row): Make the `default-value' use explicit. X-Git-Tag: emacs-pretest-23.0.90~9543 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e31d2d890abd08ae6152d908249321f609d13f48;p=emacs.git (posn-col-row): Make the `default-value' use explicit. --- 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))))))