diff --git a/private/templates/c-mode/@@.c b/private/templates/c-mode/@@.c new file mode 100644 index 000000000..d729f5573 --- /dev/null +++ b/private/templates/c-mode/@@.c @@ -0,0 +1,14 @@ +# -*- mode: snippet -*- +# group: file templates +# contributor: Henrik Lissner +# -- +/** + * @file + * @author `user-full-name` <`user-mail-address`> + * @version 0.1 + * @since 0.1 @ `(format-time-string "%Y-%m-%d")` + */ + +#include "`(file-name-nondirectory (file-name-sans-extension (buffer-file-name)))`.h" + +$0 diff --git a/private/templates/c++-mode/@@.h b/private/templates/c-mode/@@.h similarity index 100% rename from private/templates/c++-mode/@@.h rename to private/templates/c-mode/@@.h