aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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{