-
Notifications
You must be signed in to change notification settings - Fork 0
/
init-helpful.el
35 lines (29 loc) · 966 Bytes
/
init-helpful.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
(use-package elisp-demos
:straight t
:commands (elisp-demos-advice-describe-function-1))
(use-package helpful
:straight t
:defines (helpful-mode helpful-mode-map)
:bind (("C-h f" . helpful-callable)
("C-h v" . helpful-variable)
("C-h k" . helpful-key)
("C-h o" . helpful-symbol)
;; ("C-h F" . helpful-function)
([remap describe-function] . helpful-callable)
;; ([remap describe-function] . helpful-function)
([remap describe-variable] . helpful-variable)
([remap describe-key] . helpful-key)
([remap describe-symbol] . helpful-symbol)
)
:config
(require 'elisp-demos)
(advice-add 'helpful-update :after #'elisp-demos-advice-helpful-update)
)
;; (autoload 'helpful-mode "helpful")
;; (autoload 'helpful-mode-map "helpful")
;; (with-eval-after-load 'info
;; (require 'info+))
(use-package info-plus
:straight t
:after info)
(provide 'init-helpful)