Klimi's new dotfiles with stow.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
218 B

5 years ago
  1. # -*- mode: snippet -*-
  2. # name: #ifndef XXX; #define XXX; #endif
  3. # key: once
  4. # --
  5. #ifndef ${1:`(upcase (file-name-nondirectory (file-name-sans-extension (or (buffer-file-name) ""))))`_H}
  6. #define $1
  7. $0
  8. #endif /* $1 */