diff options
| author | Stefan Monnier | 2009-12-24 04:35:17 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2009-12-24 04:35:17 +0000 |
| commit | 7450fd364a0cb12a849c0806808658972b2e3646 (patch) | |
| tree | 6947e157a03d8e34b8b89cb0010557c801b00c09 /src | |
| parent | dc1dcfa4a70f09f32e102db9a8d1528fb9312481 (diff) | |
| download | emacs-7450fd364a0cb12a849c0806808658972b2e3646.tar.gz emacs-7450fd364a0cb12a849c0806808658972b2e3646.zip | |
(Fsave_excursion): Mention save-current-buffer in the docstring.
Diffstat (limited to 'src')
| -rw-r--r-- | src/editfns.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/editfns.c b/src/editfns.c index c2c5d265cb5..927bf50194a 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -997,6 +997,9 @@ functions that change the buffer will still cause deactivation | |||
| 997 | of the mark at the end of the command. To prevent that, bind | 997 | of the mark at the end of the command. To prevent that, bind |
| 998 | `deactivate-mark' with `let'. | 998 | `deactivate-mark' with `let'. |
| 999 | 999 | ||
| 1000 | If you only want to save the current buffer but not point nor mark, | ||
| 1001 | then just use `save-current-buffer', or even `with-current-buffer'. | ||
| 1002 | |||
| 1000 | usage: (save-excursion &rest BODY) */) | 1003 | usage: (save-excursion &rest BODY) */) |
| 1001 | (args) | 1004 | (args) |
| 1002 | Lisp_Object args; | 1005 | Lisp_Object args; |