Replace :eval/:repl with autodef functions

+ :eval => set-eval-handler!
+ :repl => set-repl-handler!
+ Updates all internal references.
This commit is contained in:
Henrik Lissner 2018-06-15 16:07:24 +02:00
parent 98632fe086
commit 588359cc5f
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
21 changed files with 98 additions and 72 deletions

View file

@ -33,6 +33,6 @@
(set! :lookup 'elixir-mode
:definition #'alchemist-goto-definition-at-point
:documentation #'alchemist-help-search-at-point)
(set! :eval 'elixir-mode #'alchemist-eval-region)
(set! :repl 'elixir-mode #'alchemist-iex-project-run))
(set-eval-handler! 'elixir-mode #'alchemist-eval-region)
(set-repl-handler! 'elixir-mode #'alchemist-iex-project-run))