]> git.eshelyaron.com Git - emacs.git/commit
(octave-auto-indent): New variable.
authorKarl Heuer <kwzh@gnu.org>
Fri, 24 Oct 1997 20:11:44 +0000 (20:11 +0000)
committerKarl Heuer <kwzh@gnu.org>
Fri, 24 Oct 1997 20:11:44 +0000 (20:11 +0000)
commitd83ee5785220c1d3425c64a57f07c4686d97d1bf
treec967ba0bb2ef8cbb7acec769108cfc3025b251a6
parent8bcee03ecf51ab4b88f00c6252b97833594ab3af
(octave-auto-indent): New variable.
(octave-electric-semi, octave-electric-space): Use it.

(octave-before-magic-comment-p): New func.
(calculate-octave-indent, octave-comment-indent): Use it.

(octave-auto-indent): New variable.
(octave-electric-semi, octave-electric-space): Use it.

(octave-maybe-insert-continuation-string):
New function.
(octave-auto-fill): No longer calls do-auto-fill.  Should now
avoid breaking lines after comment starts or before code line
continuation expressions.
(octave-fill-paragraph): Move forward a line if octave-auto-fill
gave up.

(octave-before-magic-comment-p): New func.
(octave-comment-indent): Handle magic comments correctly.
(calculate-octave-indent): Handle magic comments correctly.

(octave-abbrev-table): Added abbrevs for
switch, case, otherwise, and endswitch.
(octave-begin-keywords): Added switch.
(octave-else-keywords): Added case and otherwise.
(octave-end-keywords): Added endswitch.
(octave-block-match-alist): Added an entry for switch syntax.
(calculate-octave-indent): Added support for switch syntax.
(octave-block-end-offset): New function.
(octave-comment-indent): Fix a typo.

(octave-block-match-alist): Move
`otherwise' to right after `case' to have octave-close-block()
correctly close a `switch' block by `endswitch'.
lisp/progmodes/octave-mod.el