瀏覽代碼

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 ???


Loading…
取消
儲存