From 9e68413c7f0a7f71e1cee923ace7282d14c2e686 Mon Sep 17 00:00:00 2001 From: Noam Postavsky Date: Mon, 24 Aug 2020 17:33:49 +0200 Subject: [PATCH] Fix inferior octave single-quote font lock * lisp/progmodes/octave.el (octave-mode-syntax-table): Fix fontification of single quotes in inferior octave mode (bug#25517). It looks like the problem is that octave-mode-syntax-table sets single quotes as punctuation even though GNU Octave's manual says single quotes are string syntax [1]. [1]: https://www.gnu.org/software/octave/doc/interpreter/String-Objects.html --- 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 e07f818a68a..3dd9b8dae6a 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) -- 2.39.2