Commit 0c93f715 authored by Eli Zaretskii's avatar Eli Zaretskii

(octave-indent-for-comment): Behave according to do string.

parent 66e9b2b2
2006-03-11 Kurt Hornik <Kurt.Hornik@wu-wien.ac.at>
* progmodes/octave-mod.el (octave-indent-for-comment): Behave
according to do string.
2006-03-11 Agustin Martin <agustin.martin@hispalinux.es> 2006-03-11 Agustin Martin <agustin.martin@hispalinux.es>
* textmodes/flyspell.el (flyspell-external-point-words) * textmodes/flyspell.el (flyspell-external-point-words)
......
...@@ -732,7 +732,10 @@ If there is no comment already on this line, create a code-level comment ...@@ -732,7 +732,10 @@ If there is no comment already on this line, create a code-level comment
comment (started by one comment character) otherwise. comment (started by one comment character) otherwise.
Point is left after the start of the comment which is properly aligned." Point is left after the start of the comment which is properly aligned."
(interactive) (interactive)
(indent-for-comment) (beginning-of-line)
(if (looking-at "^\\s-*$")
(insert octave-block-comment-start)
(indent-for-comment))
(indent-according-to-mode)) (indent-according-to-mode))
(defun octave-indent-line (&optional arg) (defun octave-indent-line (&optional arg)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment