Replace :lookup with set-lookup-handlers! autodef

And update all internal references.
This commit is contained in:
Henrik Lissner 2018-06-15 17:27:48 +02:00
parent bfdc00cf42
commit c0251aacee
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
17 changed files with 43 additions and 37 deletions

View file

@ -6,7 +6,7 @@
(def-package! eclim
:hook (java-mode . eclim-mode)
:config
(set! :lookup 'java-mode
(set-lookup-handlers! 'java-mode
:definition #'eclim-java-find-declaration
:references #'eclim-java-find-references
:documentation #'eclim-java-show-documentation-for-current-element)

View file

@ -10,7 +10,7 @@
meghanada-use-eldoc t
meghanada-use-auto-start t)
(set! :lookup 'java-mode
(set-lookup-handlers! 'java-mode
:definition #'meghanada-jump-declaration
:references #'meghanada-reference)