Use use-package's :hook
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
This commit is contained in:
parent
45f8972cdc
commit
b1341f5668
1 changed files with 1 additions and 2 deletions
|
@ -1,8 +1,7 @@
|
|||
;;; lang/rst/config.el -*- lexical-binding: t; -*-
|
||||
|
||||
(use-package! sphinx-mode
|
||||
:init
|
||||
(add-hook! 'rst-mode-hook #'sphinx-mode))
|
||||
:hook (rst-mode . sphinx-mode))
|
||||
|
||||
(use-package! rst
|
||||
:config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue