emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/macrostep 8d72b62 044/110: Fix indentation in new macroste


From: ELPA Syncer
Subject: [nongnu] elpa/macrostep 8d72b62 044/110: Fix indentation in new macrostep-pp function
Date: Sat, 7 Aug 2021 09:17:59 -0400 (EDT)

branch: elpa/macrostep
commit 8d72b622ed3034db6e1dd58ccf89dcaf6b3279c0
Author: joddie <jonxfield@gmail.com>
Commit: joddie <jonxfield@gmail.com>

    Fix indentation in new macrostep-pp function
---
 macrostep.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/macrostep.el b/macrostep.el
index d7f71fe..afb63de 100644
--- a/macrostep.el
+++ b/macrostep.el
@@ -727,8 +727,11 @@ treated as the macro expansion of the source and inserted 
using
         (delete-region
          (point)
          (save-excursion (skip-chars-backward " \t\n") (point))))
+      ;; Indent the newly-inserted form in context
       (widen)
-      (indent-sexp))))
+      (save-excursion
+        (backward-list)
+        (indent-sexp)))))
 
 (defun macrostep-get-gensym-face (symbol)
   "Return the face to use in fontifying SYMBOL in printed macro expansions.



reply via email to

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