branch: externals/objed
commit b9ac2060d0924e08201019de02e820ed494db935
Author: Clemens Radermacher <[email protected]>
Commit: Clemens Radermacher <[email protected]>
track-eol uses this-command so set it for auto switch commands
---
objed.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/objed.el b/objed.el
index 74b219b..0c42760 100644
--- a/objed.el
+++ b/objed.el
@@ -546,6 +546,7 @@ BEFORE and AFTER are forms to execute before/after calling
the command."
(symbol-name cmd) (symbol-name obj))
(interactive)
,before
+ (setq this-command ',cmd)
(call-interactively ',cmd)
,after
(objed--switch-to ',obj)))