diff options
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/progmodes/octave-mod.el | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b0feea559e6..39237924e11 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2005-12-10 John W. Eaton <jwe@octave.org> | ||
| 2 | |||
| 3 | * emacs/octave-mod.el (octave-electric-space): Don't indent | ||
| 4 | comments or strings if octave-auto-indent is nil. | ||
| 5 | |||
| 1 | 2005-12-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 6 | 2005-12-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 2 | 7 | ||
| 3 | * term/mac-win.el: Require url when compiling. Call | 8 | * term/mac-win.el: Require url when compiling. Call |
diff --git a/lisp/progmodes/octave-mod.el b/lisp/progmodes/octave-mod.el index 0cda438fa6a..56dac972472 100644 --- a/lisp/progmodes/octave-mod.el +++ b/lisp/progmodes/octave-mod.el | |||
| @@ -1311,7 +1311,8 @@ Maybe expand abbrevs and blink matching block open keywords. | |||
| 1311 | Reindent the line of `octave-auto-indent' is non-nil." | 1311 | Reindent the line of `octave-auto-indent' is non-nil." |
| 1312 | (interactive) | 1312 | (interactive) |
| 1313 | (setq last-command-char ? ) | 1313 | (setq last-command-char ? ) |
| 1314 | (if (not (octave-not-in-string-or-comment-p)) | 1314 | (if (and octave-auto-indent |
| 1315 | (not (octave-not-in-string-or-comment-p))) | ||
| 1315 | (progn | 1316 | (progn |
| 1316 | (indent-according-to-mode) | 1317 | (indent-according-to-mode) |
| 1317 | (self-insert-command 1)) | 1318 | (self-insert-command 1)) |