ソースを参照

emacs.el use k&r style for c++-mode

pull/1/head
10sr 10年前
コミット
b28807fbf3
1個のファイルの変更2行の追加0行の削除
  1. +2
    -0
      emacs.el

+ 2
- 0
emacs.el ファイルの表示

@@ -1028,6 +1028,8 @@ found, otherwise returns nil."
nil
(add-to-list 'c-default-style
'(c-mode . "k&r"))
(add-to-list 'c-default-style
'(c++-mode . "k&r"))
(add-hook 'c-mode-common-hook
(lambda ()
;; why c-basic-offset in k&r style defaults to 5 ???


読み込み中…
キャンセル
保存