changeset 40140:9bf80d5fff41

(Fsave_excursion, Fsave_current_buffer) (Fsave_restriction): Add usage: string to doc string.
author Miles Bader <miles@gnu.org>
date Sun, 21 Oct 2001 15:21:33 +0000
parents 0600331ddd52
children 3bb2c22854a2
files src/editfns.c
diffstat 1 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/editfns.c	Sun Oct 21 15:20:42 2001 +0000
+++ b/src/editfns.c	Sun Oct 21 15:21:33 2001 +0000
@@ -900,7 +900,9 @@
 This construct does not save `deactivate-mark', and therefore
 functions that change the buffer will still cause deactivation
 of the mark at the end of the command.  To prevent that, bind
-`deactivate-mark' with `let'.  */)
+`deactivate-mark' with `let'.
+
+usage: (save-excursion &rest BODY)  */)
      (args)
      Lisp_Object args;
 {
@@ -915,7 +917,8 @@
 
 DEFUN ("save-current-buffer", Fsave_current_buffer, Ssave_current_buffer, 0, UNEVALLED, 0,
        doc: /* Save the current buffer; execute BODY; restore the current buffer.
-Executes BODY just like `progn'.  */)
+Executes BODY just like `progn'.
+usage: (save-current-buffer &rest BODY)  */)
      (args)
      Lisp_Object args;
 {
@@ -2938,7 +2941,9 @@
 
 Note: if you are using both `save-excursion' and `save-restriction',
 use `save-excursion' outermost:
-    (save-excursion (save-restriction ...))  */)
+    (save-excursion (save-restriction ...))
+
+usage: (save-restriction &rest BODY)  */)
      (body)
      Lisp_Object body;
 {