aboutsummaryrefslogtreecommitdiffstats
path: root/src/editfns.c
diff options
context:
space:
mode:
authorMiles Bader2001-10-21 15:21:33 +0000
committerMiles Bader2001-10-21 15:21:33 +0000
commit33c2d29f6c841a2b712c9ff05e1ceef2ca2d33f6 (patch)
tree43e0cae8fad017face34d892fc50de4d4a5c2920 /src/editfns.c
parent512ca171d4d3bef1c35fd85eba3b85dac3c9a8b3 (diff)
downloademacs-33c2d29f6c841a2b712c9ff05e1ceef2ca2d33f6.tar.gz
emacs-33c2d29f6c841a2b712c9ff05e1ceef2ca2d33f6.zip
(Fsave_excursion, Fsave_current_buffer)
(Fsave_restriction): Add usage: string to doc string.
Diffstat (limited to 'src/editfns.c')
-rw-r--r--src/editfns.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/editfns.c b/src/editfns.c
index 478f69ad7fc..c13c2487907 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -900,7 +900,9 @@ The state of activation of the mark is also restored.
900This construct does not save `deactivate-mark', and therefore 900This construct does not save `deactivate-mark', and therefore
901functions that change the buffer will still cause deactivation 901functions that change the buffer will still cause deactivation
902of the mark at the end of the command. To prevent that, bind 902of the mark at the end of the command. To prevent that, bind
903`deactivate-mark' with `let'. */) 903`deactivate-mark' with `let'.
904
905usage: (save-excursion &rest BODY) */)
904 (args) 906 (args)
905 Lisp_Object args; 907 Lisp_Object args;
906{ 908{
@@ -915,7 +917,8 @@ of the mark at the end of the command. To prevent that, bind
915 917
916DEFUN ("save-current-buffer", Fsave_current_buffer, Ssave_current_buffer, 0, UNEVALLED, 0, 918DEFUN ("save-current-buffer", Fsave_current_buffer, Ssave_current_buffer, 0, UNEVALLED, 0,
917 doc: /* Save the current buffer; execute BODY; restore the current buffer. 919 doc: /* Save the current buffer; execute BODY; restore the current buffer.
918Executes BODY just like `progn'. */) 920Executes BODY just like `progn'.
921usage: (save-current-buffer &rest BODY) */)
919 (args) 922 (args)
920 Lisp_Object args; 923 Lisp_Object args;
921{ 924{
@@ -2938,7 +2941,9 @@ The value returned is the value of the last form in BODY.
2938 2941
2939Note: if you are using both `save-excursion' and `save-restriction', 2942Note: if you are using both `save-excursion' and `save-restriction',
2940use `save-excursion' outermost: 2943use `save-excursion' outermost:
2941 (save-excursion (save-restriction ...)) */) 2944 (save-excursion (save-restriction ...))
2945
2946usage: (save-restriction &rest BODY) */)
2942 (body) 2947 (body)
2943 Lisp_Object body; 2948 Lisp_Object body;
2944{ 2949{