summaryrefslogtreecommitdiff
path: root/c-conf.el
AgeCommit message (Collapse)Author
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