mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-07 06:50:23 -08:00
; Minor fix in Emacs Lisp Intro manual
* doc/lispintro/emacs-lisp-intro.texi (what-line): Fix punctuation and wording. Reported by Holger Kienle <hkienle@posteo.de>. (Bug#62998)
This commit is contained in:
parent
3899acbb33
commit
d041f01b02
1 changed files with 5 additions and 4 deletions
|
|
@ -6604,10 +6604,11 @@ works. You will probably need to use @kbd{C-h f}
|
||||||
(@code{describe-function}). The newer version uses a conditional to
|
(@code{describe-function}). The newer version uses a conditional to
|
||||||
determine whether the buffer has been narrowed.
|
determine whether the buffer has been narrowed.
|
||||||
|
|
||||||
(Also, it uses @code{line-number-at-pos}, which among other simple
|
Also, the modern version of @code{what-line} uses
|
||||||
expressions, such as @code{(goto-char (point-min))}, moves point to
|
@code{line-number-at-pos}, which among other simple expressions, such
|
||||||
the beginning of the current line with @code{(forward-line 0)} rather
|
as @code{(goto-char (point-min))}, moves point to the beginning of the
|
||||||
than @code{beginning-of-line}.)
|
current line with @code{(forward-line 0)} rather than
|
||||||
|
@code{beginning-of-line}.)
|
||||||
|
|
||||||
The @code{what-line} function as shown here has a documentation line
|
The @code{what-line} function as shown here has a documentation line
|
||||||
and is interactive, as you would expect. The next two lines use the
|
and is interactive, as you would expect. The next two lines use the
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue