emacs-prelude/vendor/yasnippet/snippets/cc-mode/once
2012-02-17 22:12:32 +02:00

9 lines
No EOL
188 B
Text

# 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 */