123456789101112131415161718192021222324252627282930313233343536373839 |
- ;;;; This file contains expand-lists and abbreviations
- ;;;; use by `expand` and other completion packages
- (defconst c-expand-list
- '(("inc" "#include ")
- ("def" "#define ")
- ("ife" "if () {\n\n} else {\n\n}" (5 9 19))
- ("if" "if () {\n\n}" (5 9))
- ("uns" "unsigned ")
- ("for" "for (; ; ) {\n\n}" (5 7 9 13))
- ("switch" "switch () {\n\n}" (9 13))
- ("case" "case :\n\nbreak;\n" (6 8 16))
- ("do" "do {\n\n} while ();" (6 16))
- ("while" "while () {\n\n}" (8 12))
- ("default" "default:\n\nbreak;" 10)
- ("fmain" "int main(int argc, char *argv[])\n{\n\n}\n" 36)
- ("vmain" "int main(void)\n{\n\n}\n" 18))
- "Expansions for the C mode.")
- (defconst java-expand-list
- '(("ife" "if () {\n\n} else\n{\n\n}" (5 9 19))
- ("if" "if () {\n\n}" (5 9))
- ("uns" "unsigned ")
- ("for" "for (; ; ) {\n\n}" (5 7 9 13))
- ("switch" "switch () {\n\n}" (9 13))
- ("case" "case :\n\nbreak;\n" (6 8 16))
- ("do" "do {\n\n} while ();" (6 16))
- ("while" "while () {\n\n}" (8 12))
- ("default" "default:\n\nbreak;" 10)
- ("fmain" "public static void main(String[] args)\n{\n\n}\n" 42)
- ("nclass" "class {\n\n}\n" (7 10))
- ("neclass" "class extends {\n\n}\n" (7 16 19))
- ("naclass" "abstract class {\n\n}\n" (16 19))
- ("pclass" "public class {\n\n}\n"(14 17))
- ("peclass" "public class extends {\n\n}\n" (14 23 26))
- ("paclass" "public abstract class {\n\n}\n" (23 26))
- ("sync" "synchronized () {\n\n}" (15 19)))
- "Expansions for the Java mode.")
|