* textmodes/page.el (what-page): Use line-number-at-pos to
calculate line number.
+2011-04-10 Stephen Berman <stephen.berman@gmx.net>
+
+ * textmodes/page.el (what-page): Use line-number-at-pos to
+ calculate line number (Bug#6825).
+
2011-04-10 Chong Yidong <cyd@stupidchicken.com>
* mouse.el (mouse-drag-mode-line-1): Make sure that if we push
(if (= (match-beginning 0) (match-end 0))
(forward-char 1))
(setq count (1+ count)))
- (message "Page %d, line %d"
- count
- (1+ (count-lines (point) opoint)))))))
+ (message "Page %d, line %d" count (line-number-at-pos opoint))))))
+
+
\f
;;; Place `provide' at end of file.
(provide 'page)