Conform many modules to new conventions
This commit is contained in:
parent
20e2aa0b18
commit
c795a988e6
26 changed files with 161 additions and 165 deletions
|
@ -114,7 +114,7 @@ information.")
|
|||
(or (file-in-directory-p file doom-private-dir)
|
||||
(file-in-directory-p file doom-emacs-dir)))
|
||||
|
||||
(defun +file-templates|check ()
|
||||
(defun +file-templates-check-h ()
|
||||
"Check if the current buffer is a candidate for file template expansion. It
|
||||
must be non-read-only, empty, and there must be a rule in
|
||||
`+file-templates-alist' that applies to it."
|
||||
|
@ -143,4 +143,4 @@ must be non-read-only, empty, and there must be a rule in
|
|||
(yas-reload-all)))
|
||||
|
||||
;;
|
||||
(add-hook 'find-file-hook #'+file-templates|check)
|
||||
(add-hook 'find-file-hook #'+file-templates-check-h)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue