diff options
author | Noam Postavsky <npostavs@users.sourceforge.net> | 2020-08-24 17:33:49 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2020-08-24 17:33:49 +0200 |
commit | 9e68413c7f0a7f71e1cee923ace7282d14c2e686 (patch) | |
tree | df39a7ebde549f0ae239bfb14d37ab6b8c1671ca /lisp | |
parent | 88795c52ff13203dda5940ed5defc26ce2c20e5e (diff) | |
download | emacs-9e68413c7f0a7f71e1cee923ace7282d14c2e686.tar.gz |
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
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/progmodes/octave.el | 2 |
1 files changed, 1 insertions, 1 deletions
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) |