emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs/src editfns.c


From: Stefan Monnier
Subject: [Emacs-diffs] emacs/src editfns.c
Date: Thu, 24 Dec 2009 04:35:17 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Stefan Monnier <monnier>        09/12/24 04:35:17

Modified files:
        src            : editfns.c 

Log message:
        (Fsave_excursion): Mention save-current-buffer in the docstring.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/src/editfns.c?cvsroot=emacs&r1=1.476&r2=1.477

Patches:
Index: editfns.c
===================================================================
RCS file: /sources/emacs/emacs/src/editfns.c,v
retrieving revision 1.476
retrieving revision 1.477
diff -u -b -r1.476 -r1.477
--- editfns.c   21 Nov 2009 11:52:27 -0000      1.476
+++ editfns.c   24 Dec 2009 04:35:17 -0000      1.477
@@ -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;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]