 (tempo-define-template
  "matlab-if-else"
  '("if " p > n
-     r>
-     "else" > n
-     "end" > n)
+   r>
+   "else" > n
+   "end" > n)
  "if"
  "Insert a MATLAB if statement"
  'matlab-tempo-tags

  "Vanilla new line."
  (interactive)
  (newline))
  
(defun matlab-indent-after-ret ()
  "Indent after new line."
  (interactive)

(tempo-define-template
 "matlab-switch"
 '("switch " p > n
   "otherwise" > n
   r>
   "end" > n)
 "switch"
 "Insert a MATLAB switch statement with region in the otherwise clause."
 'matlab-tempo-tags)
