diff options
| author | Eli Zaretskii | 2017-10-17 19:17:22 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2017-10-17 19:17:22 +0300 |
| commit | 2e1b3522b8562f94a98fed07aeddb6b5ba0dbc6c (patch) | |
| tree | 20fa6a4ec6840c6dfd6033b53865b1b7d4fe84c4 /doc | |
| parent | 5b6e59cfdb6acd7b8c02a7ce66bb9f4815876863 (diff) | |
| download | emacs-2e1b3522b8562f94a98fed07aeddb6b5ba0dbc6c.tar.gz emacs-2e1b3522b8562f94a98fed07aeddb6b5ba0dbc6c.zip | |
Improve documentation of 'line-number-display-width'
* doc/lispref/display.texi (Size of Displayed Text): Document the
additional 2 columns used for line-number display.
* src/indent.c (Fline_number_display_width): Doc fix. (Bug#28248)
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/display.texi | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index afd09cfb330..fbdd810247d 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi | |||
| @@ -2053,8 +2053,9 @@ This function returns the width used for displaying the line numbers | |||
| 2053 | in the selected window. Optional argument @var{pixelwise}, if | 2053 | in the selected window. Optional argument @var{pixelwise}, if |
| 2054 | non-@code{nil}, means return the value in pixels; otherwise the value | 2054 | non-@code{nil}, means return the value in pixels; otherwise the value |
| 2055 | is returned in column units of the font defined for the | 2055 | is returned in column units of the font defined for the |
| 2056 | @code{line-number} face. If line numbers are not displayed in the | 2056 | @code{line-number} face, and doesn't include the 2 columns used to pad |
| 2057 | selected window, the value is zero. Use @code{with-selected-window} | 2057 | the numbers. If line numbers are not displayed in the selected |
| 2058 | window, the value is zero. Use @code{with-selected-window} | ||
| 2058 | (@pxref{Selecting Windows}) if you need this information about another | 2059 | (@pxref{Selecting Windows}) if you need this information about another |
| 2059 | window. | 2060 | window. |
| 2060 | @end defun | 2061 | @end defun |