* progmodes/octave.el (octave-operator-regexp): Exclude newline.
Fixes: debbugs:15076
This commit is contained in:
parent
724bc26587
commit
7a7567d2be
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2013-11-22 Leo Liu <sdl.web@gmail.com>
|
||||
|
||||
* progmodes/octave.el (octave-operator-regexp): Exclude newline.
|
||||
(Bug#15076)
|
||||
|
||||
2013-11-22 Leo Liu <sdl.web@gmail.com>
|
||||
|
||||
* progmodes/octave.el (inferior-octave-process-live-p): New helper.
|
||||
|
|
|
@ -363,7 +363,8 @@ Non-nil means always go to the next Octave code line after sending."
|
|||
;; corresponding continuation lines).
|
||||
|
||||
(defconst octave-operator-regexp
|
||||
(regexp-opt (apply 'append (mapcar 'cdr octave-operator-table))))
|
||||
(regexp-opt (remove "\n" (apply 'append
|
||||
(mapcar 'cdr octave-operator-table)))))
|
||||
|
||||
(defun octave-smie-backward-token ()
|
||||
(let ((pos (point)))
|
||||
|
|
Loading…
Add table
Reference in a new issue