Mercurial > hg > octave-terminal
changeset 5636:c1a765321f28
[project @ 2006-03-02 20:51:32 by jwe]
author | jwe |
---|---|
date | Thu, 02 Mar 2006 20:51:32 +0000 |
parents | fce700d5bb5f |
children | c90441793b1b |
files | ChangeLog emacs/octave-mod.el |
diffstat | 2 files changed, 9 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-03-02 Kurt Hornik <Kurt.Hornik@wu-wien.ac.at> + + * emacs/octave-mod.el (octave-indent-for-comment): Make the code + match the comments. + 2006-03-02 John W. Eaton <jwe@octave.org> * octMakefile.in (ALL_SUBDIRS): Delete.
--- a/emacs/octave-mod.el +++ b/emacs/octave-mod.el @@ -750,7 +750,10 @@ 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)