emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/tempel b07eb1507b: README: Update include template


From: ELPA Syncer
Subject: [elpa] externals/tempel b07eb1507b: README: Update include template
Date: Sun, 17 Apr 2022 10:57:56 -0400 (EDT)

branch: externals/tempel
commit b07eb1507b5b682a89999088bde59f69914eeef3
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    README: Update include template
---
 README.org | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.org b/README.org
index 3421cc4950..f8e2842129 100644
--- a/README.org
+++ b/README.org
@@ -175,7 +175,7 @@ post-expansion operations can be specified per template by 
the optional keys
 
   (class "public class " (p (file-name-base (or (buffer-file-name) 
(buffer-name)))) " {" n> r> n "}")
 
-  c-mode :when (re-search-backward "^\\w*$" (line-beginning-position) 'noerror)
+  c-mode :when (re-search-backward "^\\S-*$" (line-beginning-position) 
'noerror)
 
   (inc "#include <" (p (concat (file-name-base (or (buffer-file-name) 
(buffer-name))) ".h")) ">")
   (incc "#include \"" (p (concat (file-name-base (or (buffer-file-name) 
(buffer-name))) ".h")) "\"")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]