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:
parent
34d7e327b2
commit
352d9902e4
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue