From: Lars Ingebrigtsen <larsi@gnus.org>
Date: Sat, 29 May 2021 05:04:34 +0000 (+0200)
Subject: Improve Octave indentation after continuation lines
X-Git-Tag: emacs-28.0.90~2288
X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=30c09a16744ccc108689c66b283c1c7b6abe010c;p=emacs.git

Improve Octave indentation after continuation lines

* lisp/progmodes/octave.el (octave-smie-rules): Indent
continuation lines better (bug#17955).
---

diff --git a/lisp/progmodes/octave.el b/lisp/progmodes/octave.el
index a1a5192ee1f..5d877fc6ba3 100644
--- 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)."