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:
Henrik Lissner
2018-10-07 00:36:34 -04:00
parent 34d7e327b2
commit 352d9902e4

View File

@ -59,7 +59,8 @@ command that will be called interactively."
((listp command) ((listp command)
(after! quickrun (after! quickrun
(quickrun-add-command (quickrun-add-command
(symbol-name mode) (or (cdr (assq mode quickrun--major-mode-alist))
(string-remove-suffix "-mode" (symbol-name mode)))
command :mode mode))))) command :mode mode)))))
;; FIXME obsolete :eval ;; FIXME obsolete :eval