From 7001d5793cd18716688372c09f784c85019127b2 Mon Sep 17 00:00:00 2001 From: Gregor Zattler Date: Fri, 12 Oct 2012 19:22:36 -0700 Subject: [PATCH] Small emacs-lisp-intro.texi correction (tiny change) * doc/lispintro/emacs-lisp-intro.texi (Narrowing advantages): Minor update for changed what-line implementation. Fixes: debbugs:12629 --- doc/lispintro/ChangeLog | 5 +++++ doc/lispintro/emacs-lisp-intro.texi | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/doc/lispintro/ChangeLog b/doc/lispintro/ChangeLog index bc2ed8a8d82..b37426612f1 100644 --- a/doc/lispintro/ChangeLog +++ b/doc/lispintro/ChangeLog @@ -1,3 +1,8 @@ +2012-10-13 Gregor Zattler (tiny change) + + * emacs-lisp-intro.texi (Narrowing advantages): + Minor update for changed what-line implementation. (Bug#12629) + 2012-08-24 Chong Yidong * Version 24.2 released. diff --git a/doc/lispintro/emacs-lisp-intro.texi b/doc/lispintro/emacs-lisp-intro.texi index 9446333db2a..c0c7dec47bd 100644 --- a/doc/lispintro/emacs-lisp-intro.texi +++ b/doc/lispintro/emacs-lisp-intro.texi @@ -6681,8 +6681,8 @@ buffer; or conversely, an Emacs Lisp function needs to work on all of a buffer that has been narrowed. The @code{what-line} function, for example, removes the narrowing from a buffer, if it has any narrowing and when it has finished its job, restores the narrowing to what it was. -On the other hand, the @code{count-lines} function, which is called by -@code{what-line}, uses narrowing to restrict itself to just that portion +On the other hand, the @code{count-lines} function +uses narrowing to restrict itself to just that portion of the buffer in which it is interested and then restores the previous situation. -- 2.11.4.GIT