From d041f01b02f426f106c0a941a509a21317f2930e Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 21 Apr 2023 19:16:52 +0300 Subject: [PATCH] ; Minor fix in Emacs Lisp Intro manual * doc/lispintro/emacs-lisp-intro.texi (what-line): Fix punctuation and wording. Reported by Holger Kienle . (Bug#62998) --- doc/lispintro/emacs-lisp-intro.texi | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/lispintro/emacs-lisp-intro.texi b/doc/lispintro/emacs-lisp-intro.texi index a2b82d25633..6447ff74bc9 100644 --- a/doc/lispintro/emacs-lisp-intro.texi +++ b/doc/lispintro/emacs-lisp-intro.texi @@ -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 determine whether the buffer has been narrowed. -(Also, it uses @code{line-number-at-pos}, which among other simple -expressions, such as @code{(goto-char (point-min))}, moves point to -the beginning of the current line with @code{(forward-line 0)} rather -than @code{beginning-of-line}.) +Also, the modern version of @code{what-line} uses +@code{line-number-at-pos}, which among other simple expressions, such +as @code{(goto-char (point-min))}, moves point to the beginning of the +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 and is interactive, as you would expect. The next two lines use the -- 2.39.5