diff options
| author | Eli Zaretskii | 2018-01-06 17:14:41 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2018-01-06 17:14:41 +0200 |
| commit | d5f1c87bfed04c3cd84a27f599d1b38233e88816 (patch) | |
| tree | de8736907576692350509f5cf5f27b9084341ed3 /src | |
| parent | b8d74c4578a6a4f1cabe993209358eb84883b869 (diff) | |
| download | emacs-d5f1c87bfed04c3cd84a27f599d1b38233e88816.tar.gz emacs-d5f1c87bfed04c3cd84a27f599d1b38233e88816.zip | |
* src/editfns.c (Fsave_excursion): Doc fix. (Bug#30001)
Diffstat (limited to 'src')
| -rw-r--r-- | src/editfns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/editfns.c b/src/editfns.c index c4bbbb1ba48..d0ccdbddc29 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -1036,7 +1036,7 @@ If you only want to save the current buffer but not point, | |||
| 1036 | then just use `save-current-buffer', or even `with-current-buffer'. | 1036 | then just use `save-current-buffer', or even `with-current-buffer'. |
| 1037 | 1037 | ||
| 1038 | Before Emacs 25.1, `save-excursion' used to save the mark state. | 1038 | Before Emacs 25.1, `save-excursion' used to save the mark state. |
| 1039 | To save the marker state as well as the point and buffer, use | 1039 | To save the mark state as well as point and the current buffer, use |
| 1040 | `save-mark-and-excursion'. | 1040 | `save-mark-and-excursion'. |
| 1041 | 1041 | ||
| 1042 | usage: (save-excursion &rest BODY) */) | 1042 | usage: (save-excursion &rest BODY) */) |