Mercurial > emacs
diff src/editfns.c @ 106630:af4f4af3e19f
(Fsave_excursion): Mention save-current-buffer in the docstring.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Thu, 24 Dec 2009 04:35:17 +0000 |
parents | f2cea199b0c4 |
children | 736322971285 |
line wrap: on
line diff
--- a/src/editfns.c Wed Dec 23 22:45:06 2009 +0000 +++ b/src/editfns.c Thu Dec 24 04:35:17 2009 +0000 @@ -997,6 +997,9 @@ of the mark at the end of the command. To prevent that, bind `deactivate-mark' with `let'. +If you only want to save the current buffer but not point nor mark, +then just use `save-current-buffer', or even `with-current-buffer'. + usage: (save-excursion &rest BODY) */) (args) Lisp_Object args;