From b46fd3ee6aa8929dc0b10993df4ea3dd16b99a3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Madeleine=20Sydney=20=C5=9Alaga?= Date: Sat, 20 Dec 2025 13:59:27 -0700 Subject: [PATCH] fix(emacs): call handler interactively if possible --- modules/home/users/msyds/emacs/lisp/syd/handle.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/home/users/msyds/emacs/lisp/syd/handle.el b/modules/home/users/msyds/emacs/lisp/syd/handle.el index 2ba5ddb..efeaae2 100755 --- a/modules/home/users/msyds/emacs/lisp/syd/handle.el +++ b/modules/home/users/msyds/emacs/lisp/syd/handle.el @@ -43,9 +43,10 @@ ;; TODO: Use `syd-parent-mode-list' to support hierarchies of modes. when (or (eq mode major-mode) (and (boundp mode) - (symbol-value mode)) - (memq mode minor-mode-list)) - do (setq r (apply handle args)) + (symbol-value mode))) + do (setq r (if (commandp handle) + (call-interactively handle) + (apply handle args))) when r return r)))))) (defun syd-handle (modes &rest args)