]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert "Fix inferior octave single-quote font lock"
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 7 Feb 2021 14:12:15 +0000 (15:12 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 7 Feb 2021 14:12:15 +0000 (15:12 +0100)
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

index cb44b72fb44ada018b558d2c3ee70cdd23f208a4..ddcc6f5450e558208681b09e0c56bfeedfab2fe3 100644 (file)
@@ -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)