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; -*-
|
;;; lang/rst/config.el -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
(use-package! sphinx-mode
|
(use-package! sphinx-mode
|
||||||
:init
|
:hook (rst-mode . sphinx-mode))
|
||||||
(add-hook! 'rst-mode-hook #'sphinx-mode))
|
|
||||||
|
|
||||||
(use-package! rst
|
(use-package! rst
|
||||||
:config
|
:config
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue