emacs: Fix auto-insert for c++
This commit is contained in:
parent
ad8fc76af1
commit
fef597572c
1 changed files with 1 additions and 1 deletions
|
@ -1425,7 +1425,7 @@ Enable and configure =auto-insert-mode= for Horus projects
|
||||||
|
|
||||||
(when (file-executable-p my/generate-cpp-file-executable)
|
(when (file-executable-p my/generate-cpp-file-executable)
|
||||||
(define-auto-insert
|
(define-auto-insert
|
||||||
(rx ".[ch]pp" eos)
|
"\\.[ch]pp\\'"
|
||||||
(lambda nil (call-process my/generate-cpp-file-executable nil t nil buffer-file-name))))
|
(lambda nil (call-process my/generate-cpp-file-executable nil t nil buffer-file-name))))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue