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
|
@ -26,7 +26,7 @@
|
|||
|
||||
;; default is 10; this optimizes `smartparens' performance, but limits sp
|
||||
;; pairs to 6 characters.
|
||||
(add-hook! php-mode (setq-local sp-max-pair-length 6))
|
||||
(setq-hook! 'php-mode-hook sp-max-pair-length 6)
|
||||
|
||||
(sp-with-modes '(php-mode)
|
||||
(sp-local-pair "/* " "*/" :post-handlers '(("||\n[i] " "RET") ("| " "SPC")))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue