aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorLeo Liu2013-11-22 10:32:35 +0800
committerLeo Liu2013-11-22 10:32:35 +0800
commit7a7567d2bea13ef5ef8ad916be79ca8b2013bc1c (patch)
tree64f15e7d72a0af2bf1a3c10fc4006f3a59a3fdb2 /lisp/progmodes
parent724bc2658767f0e2c11b3fbe9ec72490ef30cbb2 (diff)
downloademacs-7a7567d2bea13ef5ef8ad916be79ca8b2013bc1c.tar.gz
emacs-7a7567d2bea13ef5ef8ad916be79ca8b2013bc1c.zip
* progmodes/octave.el (octave-operator-regexp): Exclude newline.
Fixes: debbugs:15076
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/octave.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/octave.el b/lisp/progmodes/octave.el
index 6187e5f098f..3d68b57cd65 100644
--- a/lisp/progmodes/octave.el
+++ b/lisp/progmodes/octave.el
@@ -363,7 +363,8 @@ Non-nil means always go to the next Octave code line after sending."
363;; corresponding continuation lines). 363;; corresponding continuation lines).
364 364
365(defconst octave-operator-regexp 365(defconst octave-operator-regexp
366 (regexp-opt (apply 'append (mapcar 'cdr octave-operator-table)))) 366 (regexp-opt (remove "\n" (apply 'append
367 (mapcar 'cdr octave-operator-table)))))
367 368
368(defun octave-smie-backward-token () 369(defun octave-smie-backward-token ()
369 (let ((pos (point))) 370 (let ((pos (point)))