From c599682c2aee78cb9e3008f6276f38139fcccb17 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 8 Oct 2011 13:52:03 -0700 Subject: [PATCH] * doc/lispref/positions.texi (Excursions): Update warning message. --- doc/lispref/ChangeLog | 4 ++++ doc/lispref/positions.texi | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index bb98cd884cf..79d91cd943f 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,3 +1,7 @@ +2011-10-08 Glenn Morris + + * positions.texi (Excursions): Update warning message. + 2011-10-05 Chong Yidong * display.texi (Low-Level Font, Face Attributes, Font Lookup): Fix diff --git a/doc/lispref/positions.texi b/doc/lispref/positions.texi index 1124d58ebcc..74444c7ad60 100644 --- a/doc/lispref/positions.texi +++ b/doc/lispref/positions.texi @@ -832,7 +832,7 @@ consequences, so the byte compiler warns if you call @code{set-buffer} during an excursion: @example -Warning: @code{save-excursion} defeated by @code{set-buffer} +Warning: Use `with-current-buffer' rather than save-excursion+set-buffer @end example @noindent -- 2.39.2