C在Emacs中的评论 - Linux内核风格

Gey*_*Bem 4 emacs comments elisp

我正在使用

(setq-default comment-style 'multi-line)
Run Code Online (Sandbox Code Playgroud)

我所在地区的评论在做的时候M-;是:

/* void main()
 * {
 *  int i;
 *  int b;
 *  printf("format string");
 * } */
Run Code Online (Sandbox Code Playgroud)

但我希望它们看起来像这样:

/* 
 * void main()
 * {
 *  int i;
 *  int b;
 *  printf("format string");
 * }
 */
Run Code Online (Sandbox Code Playgroud)

我需要改变什么?

Anl*_*ler 7

试试:

(setq comment-style 'extra-line)
Run Code Online (Sandbox Code Playgroud)