From: Lars Ingebrigtsen Date: Sun, 7 Feb 2021 14:12:15 +0000 (+0100) Subject: Revert "Fix inferior octave single-quote font lock" X-Git-Tag: emacs-28.0.90~3891 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5ffc55d1e98d04b035c3d8d88d678b74af7a1fd7;p=emacs.git 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. --- diff --git a/lisp/progmodes/octave.el b/lisp/progmodes/octave.el index cb44b72fb44..ddcc6f5450e 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)