introspection.el (747B)
1 ;; -*- lexical-binding: t; -*- 2 ;;; Configuration for things useful for introspecting Emacs. 3 4 (use-package helpful 5 :init 6 ;; Advise describe-style functions so that Helpful appears no matter what 7 (advice-add 'describe-function :override #'helpful-function) 8 (advice-add 'describe-variable :override #'helpful-variable) 9 (advice-add 'describe-command :override #'helpful-callable) 10 (advice-add 'describe-key :override #'helpful-key) 11 (advice-add 'describe-symbol :override #'helpful-symbol) 12 13 :bind 14 (("C-h f" . helpful-function) 15 ("C-h v" . helpful-variable) 16 ("C-h k" . helpful-key) 17 ("C-c C-d" . helpful-at-point) 18 ("C-h F" . helpful-function) 19 ("C-h C" . helpful-command))) 20 21 (use-package which-key 22 :init (which-key-mode))