Add lookup handlers for IELM
This commit is contained in:
parent
7ed96590e6
commit
595c055953
1 changed files with 7 additions and 0 deletions
|
@ -114,6 +114,13 @@ This marks a foldable marker for `outline-minor-mode' in elisp buffers.")
|
||||||
"v" #'find-variable
|
"v" #'find-variable
|
||||||
"l" #'find-library)))
|
"l" #'find-library)))
|
||||||
|
|
||||||
|
(use-package! ielm
|
||||||
|
:defer t
|
||||||
|
:config
|
||||||
|
(set-lookup-handlers! 'inferior-emacs-lisp-mode
|
||||||
|
:definition #'+emacs-lisp-lookup-definition
|
||||||
|
:documentation #'+emacs-lisp-lookup-documentation))
|
||||||
|
|
||||||
;; Adapted from http://www.modernemacs.com/post/comint-highlighting/ to add
|
;; Adapted from http://www.modernemacs.com/post/comint-highlighting/ to add
|
||||||
;; syntax highlighting to ielm REPLs.
|
;; syntax highlighting to ielm REPLs.
|
||||||
(add-hook! 'ielm-mode-hook
|
(add-hook! 'ielm-mode-hook
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue