aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/octave-mod.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/progmodes/octave-mod.el b/lisp/progmodes/octave-mod.el
index 4683186e603..d161754cad9 100644
--- a/lisp/progmodes/octave-mod.el
+++ b/lisp/progmodes/octave-mod.el
@@ -482,6 +482,7 @@ Non-nil means always go to the next Octave code line after sending."
482 (forward-comment 1)) 482 (forward-comment 1))
483 (cond 483 (cond
484 ((and (looking-at "$\\|[%#]") 484 ((and (looking-at "$\\|[%#]")
485 (not (smie-rule-bolp))
485 ;; Ignore it if it's within parentheses. 486 ;; Ignore it if it's within parentheses.
486 (prog1 (let ((ppss (syntax-ppss))) 487 (prog1 (let ((ppss (syntax-ppss)))
487 (not (and (nth 1 ppss) 488 (not (and (nth 1 ppss)