diff options
| author | Miles Bader <miles@gnu.org> | 2001-10-21 15:21:33 +0000 |
|---|---|---|
| committer | Miles Bader <miles@gnu.org> | 2001-10-21 15:21:33 +0000 |
| commit | 33c2d29f6c841a2b712c9ff05e1ceef2ca2d33f6 (patch) | |
| tree | 43e0cae8fad017face34d892fc50de4d4a5c2920 /src | |
| parent | 512ca171d4d3bef1c35fd85eba3b85dac3c9a8b3 (diff) | |
| download | emacs-33c2d29f6c841a2b712c9ff05e1ceef2ca2d33f6.tar.gz | |
(Fsave_excursion, Fsave_current_buffer)
(Fsave_restriction): Add usage: string to doc string.
Diffstat (limited to 'src')
| -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. 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 @@ of the mark at the end of the command. To prevent that, bind 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 @@ The value returned is the value of the last form in BODY. 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; { |
