Auto-formatting a source file in emacs

前端 未结 6 832
旧巷少年郎
旧巷少年郎 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:38

    Try M-x asm-mode. That will switch to assembler mode. Not sure how it will go with assembler embedded in the middle of a C file.

提交回复
热议问题