emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r115180: * progmodes/octave.el (octave-operator-rege


From: Leo Liu
Subject: [Emacs-diffs] trunk r115180: * progmodes/octave.el (octave-operator-regexp): Exclude newline.
Date: Fri, 22 Nov 2013 02:33:59 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 115180
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/15076
committer: Leo Liu <address@hidden>
branch nick: trunk
timestamp: Fri 2013-11-22 10:32:35 +0800
message:
  * progmodes/octave.el (octave-operator-regexp): Exclude newline.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/progmodes/octave.el       
octavemod.el-20091113204419-o5vbwnq5f7feedwu-1028
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2013-11-22 02:02:42 +0000
+++ b/lisp/ChangeLog    2013-11-22 02:32:35 +0000
@@ -1,5 +1,10 @@
 2013-11-22  Leo Liu  <address@hidden>
 
+       * progmodes/octave.el (octave-operator-regexp): Exclude newline.
+       (Bug#15076)
+
+2013-11-22  Leo Liu  <address@hidden>
+
        * progmodes/octave.el (inferior-octave-process-live-p): New helper.
        (inferior-octave-startup, inferior-octave-check-process)
        (inferior-octave-track-window-width-change)

=== modified file 'lisp/progmodes/octave.el'
--- a/lisp/progmodes/octave.el  2013-11-22 02:02:42 +0000
+++ b/lisp/progmodes/octave.el  2013-11-22 02:32:35 +0000
@@ -363,7 +363,8 @@
 ;; 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)))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]