From fef597572cafbf4a1305af4430aba9b5e32c2d19 Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Wed, 13 Nov 2024 17:23:11 +0100 Subject: [PATCH] emacs: Fix auto-insert for c++ --- home-manager/modules/emacs/config.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home-manager/modules/emacs/config.org b/home-manager/modules/emacs/config.org index 9dab26f..9bb964e 100644 --- a/home-manager/modules/emacs/config.org +++ b/home-manager/modules/emacs/config.org @@ -1425,7 +1425,7 @@ Enable and configure =auto-insert-mode= for Horus projects (when (file-executable-p my/generate-cpp-file-executable) (define-auto-insert - (rx ".[ch]pp" eos) + "\\.[ch]pp\\'" (lambda nil (call-process my/generate-cpp-file-executable nil t nil buffer-file-name))))