diff --git a/oni/home/services/emacs/helpful.el b/oni/home/services/emacs/helpful.el index 59d33de..f8ff664 100644 --- a/oni/home/services/emacs/helpful.el +++ b/oni/home/services/emacs/helpful.el @@ -25,14 +25,13 @@ ;;; Code: (use-package helpful - :config - (global-set-key [remap describe-callable] #'helpful-callable) - (global-set-key [remap describe-function] #'helpful-function) - (global-set-key (kbd "C-h M") #'helpful-macro) - (global-set-key [remap describe-command] #'helpful-command) - (global-set-key [remap describe-key] #'helpful-key) - (global-set-key [remap describe-variable] #'helpful-variable) - (global-set-key (kbd "C-h T") #'helpful-at-point)) + :bind (([remap describe-callable] . helpful-callable) + ([remap describe-function] . helpful-function) + ("C-h M" . helpful-macro) + ([remap describe-command] . helpful-command) + ([remap describe-key] . helpful-key) + ([remap describe-variable] . helpful-variable) + ("C-h T" . helpful--at-point))) (provide 'helpful) ;;; helpful.el ends here