[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/objed b9ac206 4/5: track-eol uses this-command so set i
From: |
Clemens Radermacher |
Subject: |
[elpa] externals/objed b9ac206 4/5: track-eol uses this-command so set it for auto switch commands |
Date: |
Sat, 9 Feb 2019 08:39:00 -0500 (EST) |
branch: externals/objed
commit b9ac2060d0924e08201019de02e820ed494db935
Author: Clemens Radermacher <address@hidden>
Commit: Clemens Radermacher <address@hidden>
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)))