瀏覽代碼

c++ files should be unix-formatted.

David Rose 21 年之前
父節點
當前提交
afb69f34cd
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      panda/src/configfiles/panda.emacs

+ 2 - 0
panda/src/configfiles/panda.emacs

@@ -28,6 +28,8 @@
 ; buffer whenever you switch to C++ mode.
 (setq c++-mode-hook (lambda ()
 		      (setq indent-tabs-mode nil)
+                      ;; Make sure we use unix encoding
+                      (setq local-write-file-hooks 'Use-Undecided-Unix-Mode)
 		      ))
 
 ;;