summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2017-04-11 12:40:37 +0300
committerEli Zaretskii <eliz@gnu.org>2017-04-11 12:40:37 +0300
commita6d50401b4b858520f9e331f0b4e80e0e0278bbf (patch)
tree00b3fe3d0e3fa9e9c0046d5031ef15b3ffd5331f
parent0c55cf43e61537364ee7ea3d6ba77bb6ac3ef8a3 (diff)
downloademacs-a6d50401b4b858520f9e331f0b4e80e0e0278bbf.tar.gz
Document 'line-pixel-height'
* doc/lispref/display.texi (Size of Displayed Text): Document line-pixel-height. Suggested by Tak Kunihiro <tkk@misasa.okayama-u.ac.jp>. (Bug#26379)
-rw-r--r--doc/lispref/display.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index 84e7deb692e..717171c6972 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -1974,6 +1974,12 @@ line, if present, in the return value. If it is @code{t}, include the
height of both, if present, in the return value.
@end defun
+@defun line-pixel-height
+This function returns the height in pixels of the line at point in the
+selected window. The value includes the line spacing of the line
+(@pxref{Line Height}).
+@end defun
+
@node Line Height
@section Line Height