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

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

[elpa] externals/ruby-end f090fbbf74 51/91: make sure to call fallback c


From: ELPA Syncer
Subject: [elpa] externals/ruby-end f090fbbf74 51/91: make sure to call fallback commands interactively
Date: Wed, 25 Jan 2023 19:58:27 -0500 (EST)

branch: externals/ruby-end
commit f090fbbf742d4738179cf4d78e12f91b7a7db603
Author: Jeff Gran <jeff.gran@openlogic.com>
Commit: Jeff Gran <jeff.gran@openlogic.com>

    make sure to call fallback commands interactively
---
 ruby-end.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ruby-end.el b/ruby-end.el
index 39ae57c686..eb11de90e2 100644
--- a/ruby-end.el
+++ b/ruby-end.el
@@ -121,8 +121,8 @@
 (defun ruby-end-fallback (key)
   "Execute function that KEY was bound to before `ruby-end-mode'."
   (let ((ruby-end-mode nil))
-    (execute-kbd-macro
-     (edmacro-parse-keys key))))
+    (call-interactively
+     (key-binding (edmacro-parse-keys key) t))))
 
 (defun ruby-end-insert-end ()
   "Closes block by inserting end."



reply via email to

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