Auto-formatting a source file in emacs

前端 未结 6 789
旧巷少年郎
旧巷少年郎 2021-01-29 19:47

How do I apply a set of formatting rules to an existing source file in emacs?

Specifically I have an assembly (*.s) file, but I would like a generic command

6条回答
  •  无人共我
    2021-01-29 20:26

    emacs will use the file name extension to identify the mode, you should add some assemble language mode style in your custom.el file

提交回复
热议问题