Skip to content

Commit

Permalink
Add helpful and elisp-demos
Browse files Browse the repository at this point in the history
  • Loading branch information
chuxubank committed Aug 23, 2024
1 parent 68e94f5 commit e80ffd5
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions cats/+doc.el
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,22 @@ Intended for `eldoc-documentation-functions' (which see)."
:hook ((conf-toml-mode
toml-ts-mode). eldoc-toml-mode))

(use-package helpful
:bind
([remap describe-function] . #'helpful-callable)
([remap describe-variable] . #'helpful-variable)
([remap describe-key] . #'helpful-key)
([remap describe-command] . #'helpful-command)
([remap describe-symbol] . #'helpful-symbol)
(:map help-map
("C-d" . #'helpful-at-point)))

(use-package elisp-demos
:demand
:after helpful
:config
(advice-add 'helpful-update :after #'elisp-demos-advice-helpful-update))

(use-package devdocs)

(defvar-keymap cat-dev-doc-map
Expand Down

0 comments on commit e80ffd5

Please sign in to comment.