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;
{
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;
{
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;
{