Browse Source

c++ files should be unix-formatted.

David Rose 21 years ago
parent
commit
afb69f34cd
1 changed files with 2 additions and 0 deletions
  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.
 ; buffer whenever you switch to C++ mode.
 (setq c++-mode-hook (lambda ()
 (setq c++-mode-hook (lambda ()
 		      (setq indent-tabs-mode nil)
 		      (setq indent-tabs-mode nil)
+                      ;; Make sure we use unix encoding
+                      (setq local-write-file-hooks 'Use-Undecided-Unix-Mode)
 		      ))
 		      ))
 
 
 ;;
 ;;