diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2023-01-20 16:36:59 +0100 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2023-01-20 16:37:53 +0100 |
| commit | 071ce274a4cf63d54b061f478a14e56bea00d01f (patch) | |
| tree | 6e6225bbc44d7816cd84e2fa70de0ad50cb7d781 /compat.texi | |
| parent | 041ac359aea6083d3aa236d759ed41292ee10079 (diff) | |
compat-25: Add save-mark-and-excursion
Diffstat (limited to 'compat.texi')
| -rw-r--r-- | compat.texi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/compat.texi b/compat.texi index 4f6a606..90184ef 100644 --- a/compat.texi +++ b/compat.texi @@ -237,6 +237,13 @@ manage to provide for each Emacs version. The following functions and macros implemented in 25.1, and are provided by Compat: +@c copied from lispref/positions.texi +@defmac save-mark-and-excursion body@dots{} +This macro is like @code{save-excursion}, but also saves and restores +the mark location and @code{mark-active}. This macro does what +@code{save-excursion} did before Emacs 25.1. +@end defmac + @c copied from lispref/strings.texi @defun format-message string &rest objects This function acts like @code{format}, except it also converts any grave |
