fixup! help/helpful: Set tab-width to 8, better integration w/ Ivy (#15243)

This commit is contained in:
Lucius Hu 2022-02-09 17:20:17 -05:00
parent 9e30cf9b39
commit 8bfc1566ec
No known key found for this signature in database
GPG Key ID: 7E474E82E29B5A7A
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@
(defalias 'describe-function 'helpful-callable)
(defalias 'describe-variable 'helpful-variable)
(defalias 'describe-key 'helpful-key)
(add-hook 'helpful-mode (lambda () (setq-local tab-width 8)))
(add-hook 'helpful-mode-hook (lambda () (setq-local tab-width 8)))
(when (featurep 'counsel)
(setq counsel-describe-function-function #'helpful-callable)
(setq counsel-describe-variable-function #'helpful-variable))))

View File

@ -233,7 +233,7 @@
(use-package help-fns+
:commands (describe-keymap)
:init (spacemacs/set-leader-keys "hdK" 'describe-keymap)
:config (add-hook 'help-mode (lambda () (setq-local tab-width 8)))))
:config (add-hook 'help-mode-hook (lambda () (setq-local tab-width 8)))))
(defun spacemacs-defaults/init-hi-lock ()
(with-eval-after-load 'hi-lock