diff options
| author | Miles Bader | 2001-10-21 15:21:33 +0000 |
|---|---|---|
| committer | Miles Bader | 2001-10-21 15:21:33 +0000 |
| commit | 33c2d29f6c841a2b712c9ff05e1ceef2ca2d33f6 (patch) | |
| tree | 43e0cae8fad017face34d892fc50de4d4a5c2920 /src/editfns.c | |
| parent | 512ca171d4d3bef1c35fd85eba3b85dac3c9a8b3 (diff) | |
| download | emacs-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.c | 11 |
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. | |||
| 900 | This construct does not save `deactivate-mark', and therefore | 900 | This construct does not save `deactivate-mark', and therefore |
| 901 | functions that change the buffer will still cause deactivation | 901 | functions that change the buffer will still cause deactivation |
| 902 | of the mark at the end of the command. To prevent that, bind | 902 | of the mark at the end of the command. To prevent that, bind |
| 903 | `deactivate-mark' with `let'. */) | 903 | `deactivate-mark' with `let'. |
| 904 | |||
| 905 | usage: (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 | ||
| 916 | DEFUN ("save-current-buffer", Fsave_current_buffer, Ssave_current_buffer, 0, UNEVALLED, 0, | 918 | DEFUN ("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. |
| 918 | Executes BODY just like `progn'. */) | 920 | Executes BODY just like `progn'. |
| 921 | usage: (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 | ||
| 2939 | Note: if you are using both `save-excursion' and `save-restriction', | 2942 | Note: if you are using both `save-excursion' and `save-restriction', |
| 2940 | use `save-excursion' outermost: | 2943 | use `save-excursion' outermost: |
| 2941 | (save-excursion (save-restriction ...)) */) | 2944 | (save-excursion (save-restriction ...)) |
| 2945 | |||
| 2946 | usage: (save-restriction &rest BODY) */) | ||
| 2942 | (body) | 2947 | (body) |
| 2943 | Lisp_Object body; | 2948 | Lisp_Object body; |
| 2944 | { | 2949 | { |