summaryrefslogtreecommitdiff
path: root/c-conf.el
AgeCommit message (Collapse)Author
2022-01-12c-conf: add test files by a key-bindingJSDurand
Add a function to generate a skeleton test file automatically, and bind that to a key.
2021-08-21c-conf: re-bind and add include functionJSDurand
* c-conf.el (durand-c-prefix-map): Bind the pragma and the include functions. (c-mode-map): Bind the prefix map. (durand-c-include): Generate the include directives automatically.
2021-07-19new: generate-pragma in c-modeJSDurand
* c-conf.el (generate-pragma): This generates a pragma for header files, and an include statement for C files.
2021-05-18Bind compile to C-c C-c.JSDurand
* c-conf.el (c-mode-map): I don't know why I didn't bind this earlier.
2021-04-20Initial configuration of c-modeJSDurand
* c-conf.el (c-macro-preprocessor): Set it to a sane default. * init.el (prepare-c): Lazy load c-conf.el