Replace add-hook! with setq-hook! where possible
This commit is contained in:
parent
fe2ed9b6f7
commit
168cb74794
3 changed files with 6 additions and 6 deletions
|
@ -15,10 +15,10 @@
|
|||
markdown-hide-urls nil) ; trigger with `markdown-toggle-url-hiding'
|
||||
|
||||
:config
|
||||
(add-hook! markdown-mode
|
||||
(auto-fill-mode +1)
|
||||
(setq line-spacing 2
|
||||
fill-column 80))
|
||||
(add-hook 'markdown-mode-hook #'auto-fill-mode)
|
||||
(setq-hook! 'markdown-mode-hook
|
||||
line-spacing 2
|
||||
fill-column 80)
|
||||
|
||||
(map! (:map markdown-mode-map
|
||||
[remap find-file-at-point] #'markdown-follow-thing-at-point
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue