File: indent-matlab.el

package info (click to toggle)
dynare 7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 79,248 kB
  • sloc: cpp: 82,011; ansic: 28,583; objc: 12,573; yacc: 5,105; pascal: 2,374; lex: 1,502; python: 1,118; sh: 1,116; makefile: 605; lisp: 162; xml: 18
file content (8 lines) | stat: -rw-r--r-- 244 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
(matlab-mode)
(setq matlab-indent-level 4)
(setq matlab-indent-function-body nil)
(untabify (point-min) (point-max))
(indent-region (point-min) (point-max))
(set-buffer-file-coding-system 'utf-8-unix)
(delete-trailing-whitespace)
(save-buffer)