diff doc/lispref/os.texi @ 106905:1f446f261ed0

no message
author Alan Mackenzie <acm@muc.de>
date Tue, 19 Jan 2010 11:43:25 +0000
parents 79fa2d910b72
children 1d1d5d9bd884
line wrap: on
line diff
--- a/doc/lispref/os.texi	Fri Jan 08 13:41:42 2010 +0000
+++ b/doc/lispref/os.texi	Tue Jan 19 11:43:25 2010 +0000
@@ -2182,7 +2182,7 @@
 
 @group
 (defun save-yourself-test ()
-  (insert "(save-excursion
+  (insert "(save-current-buffer
   (switch-to-buffer \"*scratch*\")
   (insert \"I am restored\"))")
   nil)