in the selected window. Optional argument @var{pixelwise}, if
non-@code{nil}, means return the value in pixels; otherwise the value
is returned in column units of the font defined for the
-@code{line-number} face. If line numbers are not displayed in the
-selected window, the value is zero. Use @code{with-selected-window}
+@code{line-number} face, and doesn't include the 2 columns used to pad
+the numbers. If line numbers are not displayed in the selected
+window, the value is zero. Use @code{with-selected-window}
(@pxref{Selecting Windows}) if you need this information about another
window.
@end defun
doc: /* Return the width used for displaying line numbers in the selected window.
If optional argument PIXELWISE is non-nil, return the width in pixels,
otherwise return the width in columns of the face used to display
-line numbers, `line-number'. */)
+line numbers, `line-number'. Note that in the latter case, the value
+doesn't include the 2 columns used for padding the numbers. */)
(Lisp_Object pixelwise)
{
int width, pixel_width;