mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-23 07:19:15 +00:00
(octave-indent-for-comment): Behave according to do string.
This commit is contained in:
parent
66e9b2b244
commit
0c93f71581
@ -1,3 +1,8 @@
|
||||
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>
|
||||
|
||||
* 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
|
||||
comment (started by one comment character) otherwise.
|
||||
Point is left after the start of the comment which is properly aligned."
|
||||
(interactive)
|
||||
(indent-for-comment)
|
||||
(beginning-of-line)
|
||||
(if (looking-at "^\\s-*$")
|
||||
(insert octave-block-comment-start)
|
||||
(indent-for-comment))
|
||||
(indent-according-to-mode))
|
||||
|
||||
(defun octave-indent-line (&optional arg)
|
||||
|
Loading…
Reference in New Issue
Block a user