mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-05 18:20:29 -08:00
fix(emacs-lisp): set Helpful tab-width to 8
This matches the expected tab-width of Emacs code using tab indentation. Fix: #8574
This commit is contained in:
parent
79f82f16ab
commit
67fcff28b4
1 changed files with 6 additions and 0 deletions
|
|
@ -299,6 +299,12 @@ current buffer."
|
|||
:config
|
||||
(setq helpful-set-variable-function #'setq!)
|
||||
|
||||
(setq-hook! 'helpful-mode-hook
|
||||
;; Elisp code using tab indentation always use a tab-width of 8. C source
|
||||
;; code from Emacs also use a tab-width of 8. Therefore Helpful needs a
|
||||
;; tab-width of 8 to display tab indentation correctly.
|
||||
tab-width 8)
|
||||
|
||||
(cond ((modulep! :completion ivy)
|
||||
(setq counsel-describe-function-function #'helpful-callable
|
||||
counsel-describe-variable-function #'helpful-variable
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue