Emacs config utilizing prelude as a base
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.

8 lines
188 B

  1. # name: #ifndef XXX; #define XXX; #endif
  2. # key: once
  3. # --
  4. #ifndef ${1:_`(upcase (file-name-nondirectory (file-name-sans-extension (buffer-file-name))))`_H_}
  5. #define $1
  6. $0
  7. #endif /* $1 */