mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix set-eval-handler!
This ensures eval handlers shadow the correct entries in quickrun--language-alist, rather than adding new/duplicate ones.
This commit is contained in:
@ -59,7 +59,8 @@ command that will be called interactively."
|
||||
((listp command)
|
||||
(after! quickrun
|
||||
(quickrun-add-command
|
||||
(symbol-name mode)
|
||||
(or (cdr (assq mode quickrun--major-mode-alist))
|
||||
(string-remove-suffix "-mode" (symbol-name mode)))
|
||||
command :mode mode)))))
|
||||
|
||||
;; FIXME obsolete :eval
|
||||
|
Reference in New Issue
Block a user