projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cee502e
)
Improve Octave indentation after continuation lines
author
Lars Ingebrigtsen
<larsi@gnus.org>
Sat, 29 May 2021 05:04:34 +0000
(07:04 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Sat, 29 May 2021 05:04:34 +0000
(07:04 +0200)
* lisp/progmodes/octave.el (octave-smie-rules): Indent
continuation lines better (bug#17955).
lisp/progmodes/octave.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/octave.el
b/lisp/progmodes/octave.el
index a1a5192ee1f7a04bfc7f60e0979ff4a0ef45ae5f..5d877fc6ba32296fc5dd34f209d1b361eeeeeee3 100644
(file)
--- a/
lisp/progmodes/octave.el
+++ b/
lisp/progmodes/octave.el
@@
-460,7
+460,8
@@
Non-nil means always go to the next Octave code line after sending."
(smie-rule-parent octave-block-offset)
;; For (invalid) code between switch and case.
;; (if (smie-rule-parent-p "switch") 4)
- nil))))
+ nil))
+ ('(:after . "=") octave-block-offset)))
(defun octave-indent-comment ()
"A function for `smie-indent-functions' (which see)."