Rule is too restrict for file templates
This commit is contained in:
parent
d8dbd0759c
commit
ab273db50d
1 changed files with 0 additions and 1 deletions
|
@ -113,7 +113,6 @@ must be non-read-only, empty, and there must be a rule in
|
|||
`+file-templates-alist' that applies to it."
|
||||
(when (and (not buffer-read-only)
|
||||
(bobp) (eobp)
|
||||
(get-buffer-window)
|
||||
(not (string-match-p "^ *\\*" (buffer-name))))
|
||||
(when-let* ((rule (cl-find-if #'+file-template-p +file-templates-alist)))
|
||||
(apply #'+file-templates--expand rule))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue