-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit-helpful.el
31 lines (26 loc) · 939 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
(my/straight-if-use 'elisp-demos)
(use-package elisp-demos
:commands (elisp-demos-advice-describe-function-1))
(my/straight-if-use 'helpful)
(use-package helpful
: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)
([remap describe-command] . helpful-command)
)
:config
(require 'elisp-demos)
(advice-add 'helpful-update :after #'elisp-demos-advice-helpful-update)
)
(my/straight-if-use 'info-plus)
(use-package info-plus
:after info)
(provide 'init-helpful)