matlab.el:
(matlab-mode-vf-add-end-to-this-block): when adding end to end of buffer, be sure to add CR @ beginning in case of no CR at end of last line of code.
This commit is contained in:
parent
a2d6f97b68
commit
4ed7821a04
1 changed files with 1 additions and 1 deletions
|
@ -3960,7 +3960,7 @@ by `matlab-mode-vf-add-ends'"
|
|||
(save-excursion (insert "end\n\n"))
|
||||
(matlab-indent-line))
|
||||
(goto-char (point-max))
|
||||
(save-excursion (insert "end\n\n"))
|
||||
(save-excursion (insert "\nend\n\n"))
|
||||
(matlab-indent-line))))
|
||||
|
||||
(defun matlab-mode-vf-block-matches-backward (&optional fast)
|
||||
|
|
Loading…
Reference in a new issue