# HG changeset patch # User Stefan Monnier # Date 1261629317 0 # Node ID af4f4af3e19f6c875500c4a22fa6189faa7e5988 # Parent f7885882956b90f51e74210226ae1a3eba908ac9 (Fsave_excursion): Mention save-current-buffer in the docstring. diff -r f7885882956b -r af4f4af3e19f src/editfns.c --- 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;