Updated indentation script for c/h/cc/hh files.

+ set utf-8 encoding.
     + delete trailing whitespaces.
time-shift
Stéphane Adjemian (Charybdis) 2017-05-16 16:28:57 +02:00
parent 5417b27ac7
commit 2f07c6f1db
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
(c++-mode)
(setq indent-tabs-mode nil)
(indent-region (point-min) (point-max))
(set-buffer-file-coding-system 'unix)
(set-buffer-file-coding-system 'utf-8-unix)
(delete-trailing-whitespace)
(save-buffer)