# -*- mode: snippet -*- # key: def # name: #ifndef … #define … #endif # -- ${1:$(if (string= text "") "" (concat "#ifndef " text "\n"))}#define ${1:SYMBOL} ${2:value}${1:$(if (string= text "") "" (concat "\n#endif "))}