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
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -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