]> git.eshelyaron.com Git - emacs.git/commitdiff
Improve Octave indentation after continuation lines
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 29 May 2021 05:04:34 +0000 (07:04 +0200)
committerLars 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

index a1a5192ee1f7a04bfc7f60e0979ff4a0ef45ae5f..5d877fc6ba32296fc5dd34f209d1b361eeeeeee3 100644 (file)
@@ -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)."