From 3d91cf9716fce903347713861cbf0bbc1478726c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Charybdis=29?= Date: Tue, 16 May 2017 14:55:56 +0200 Subject: [PATCH] Updated indentation script for matlab files. + set utf-8 encoding. + delete trailing whitespaces. --- scripts/indent-matlab.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/indent-matlab.el b/scripts/indent-matlab.el index 76861b258..a0ef3ae76 100644 --- a/scripts/indent-matlab.el +++ b/scripts/indent-matlab.el @@ -3,5 +3,6 @@ (setq matlab-indent-function-body nil) (untabify (point-min) (point-max)) (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)