]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fsave_excursion): Mention save-current-buffer in the docstring.
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 24 Dec 2009 04:35:17 +0000 (04:35 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 24 Dec 2009 04:35:17 +0000 (04:35 +0000)
src/editfns.c

index c2c5d265cb57122f28e8913e55014ec00aab1daf..927bf50194a415aa0a8606aca452df9487fffa06 100644 (file)
@@ -997,6 +997,9 @@ 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'.
 
+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;