From 96796035477bb69e957977795c1306fbd7a3a083 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 17 Aug 2023 09:58:40 -0700 Subject: Clean up Emacs helpful configuration --- oni/home/services/emacs/helpful.el | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'oni/home') 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 -- cgit v1.2.3-54-g00ecf