diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/editfns.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/editfns.c b/src/editfns.c index dead48c1a62..1686fbf668b 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -908,6 +908,10 @@ even in case of abnormal exit (throw or error). | |||
| 908 | If you only want to save the current buffer but not point, | 908 | If you only want to save the current buffer but not point, |
| 909 | then just use `save-current-buffer', or even `with-current-buffer'. | 909 | then just use `save-current-buffer', or even `with-current-buffer'. |
| 910 | 910 | ||
| 911 | Before Emacs 25.1, `save-excursion' used to save the mark state. | ||
| 912 | To save the marker state as well as the point and buffer, use | ||
| 913 | `save-mark-and-excursion'. | ||
| 914 | |||
| 911 | usage: (save-excursion &rest BODY) */) | 915 | usage: (save-excursion &rest BODY) */) |
| 912 | (Lisp_Object args) | 916 | (Lisp_Object args) |
| 913 | { | 917 | { |