my-emacs-d/elpa/yasnippet-20160924.2001/snippets/cc-mode/once
2016-10-20 10:27:10 +02:00

9 lines
186 B
Plaintext

#name : #ifndef XXX; #define XXX; #endif
# key: once
# --
#ifndef ${1:`(upcase (file-name-nondirectory (file-name-sans-extension (buffer-file-name))))`_H}
#define $1
$0
#endif /* $1 */