emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master ca1b9b3: * lisp/simple.el (save-mark-and-excursion)


From: Mark Oteiza
Subject: [Emacs-diffs] master ca1b9b3: * lisp/simple.el (save-mark-and-excursion): Add declare forms.
Date: Sun, 3 Jul 2016 22:57:06 +0000 (UTC)

branch: master
commit ca1b9b38dcf372b09028acf088f386ef09f2de84
Author: Mark Oteiza <address@hidden>
Commit: Mark Oteiza <address@hidden>

    * lisp/simple.el (save-mark-and-excursion): Add declare forms.
---
 lisp/simple.el |    1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/simple.el b/lisp/simple.el
index bc3e7b8..0da7097 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -5223,6 +5223,7 @@ store it in a Lisp variable.  Example:
 (defmacro save-mark-and-excursion (&rest body)
   "Like `save-excursion', but also save and restore the mark state.
 This macro does what `save-excursion' did before Emacs 25.1."
+  (declare (indent 0) (debug t))
   (let ((saved-marker-sym (make-symbol "saved-marker")))
     `(let ((,saved-marker-sym (save-mark-and-excursion--save)))
        (unwind-protect



reply via email to

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