Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dynare
dynare
Commits
3d91cf97
Commit
3d91cf97
authored
May 16, 2017
by
Stéphane Adjemian
Browse files
Updated indentation script for matlab files.
+ set utf-8 encoding. + delete trailing whitespaces.
parent
a4f563f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/indent-matlab.el
View file @
3d91cf97
...
...
@@ -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
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment