emacs-diffs
[Top][All Lists]
Advanced

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

master 5ffc55d: Revert "Fix inferior octave single-quote font lock"


From: Lars Ingebrigtsen
Subject: master 5ffc55d: Revert "Fix inferior octave single-quote font lock"
Date: Sun, 7 Feb 2021 09:15:16 -0500 (EST)

branch: master
commit 5ffc55d1e98d04b035c3d8d88d678b74af7a1fd7
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Revert "Fix inferior octave single-quote font lock"
    
    This reverts commit 9e68413c7f0a7f71e1cee923ace7282d14c2e686.
    
    This patch led to bug#46327:
    
    x = [2 2]'
    disp(x)
    
    Which meant that the transpose operator was interpreted
    as the start of a string.
---
 lisp/progmodes/octave.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/octave.el b/lisp/progmodes/octave.el
index cb44b72..ddcc6f5 100644
--- a/lisp/progmodes/octave.el
+++ b/lisp/progmodes/octave.el
@@ -165,7 +165,7 @@ parenthetical grouping.")
     (modify-syntax-entry ?| "."   table)
     (modify-syntax-entry ?! "."   table)
     (modify-syntax-entry ?\\ "."  table)
-    (modify-syntax-entry ?\' "\""  table)
+    (modify-syntax-entry ?\' "."  table)
     (modify-syntax-entry ?\` "."  table)
     (modify-syntax-entry ?. "."   table)
     (modify-syntax-entry ?\" "\"" table)



reply via email to

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