Commit e68afd74 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

subr.el (posn-col-row): Pay attention to header line. (Bug#7390)

parent de02effd
2010-11-13 Eli Zaretskii <eliz@gnu.org>
* subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
2010-11-13 Chong Yidong <cyd@stupidchicken.com>
* textmodes/picture.el (picture-mouse-set-point): Don't use
......
......@@ -955,7 +955,8 @@ and `event-end' functions."
((null spacing)
(setq spacing 0)))
(cons (/ (car pair) (frame-char-width frame))
(/ (cdr pair) (+ (frame-char-height frame) spacing))))))))
(- (/ (cdr pair) (+ (frame-char-height frame) spacing))
(if (null header-line-format) 0 1))))))))
(defun posn-actual-col-row (position)
"Return the actual column and row in POSITION, measured in characters.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment