summaryrefslogtreecommitdiff
path: root/lisp/progmodes/octave.el
diff options
context:
space:
mode:
authorNoam Postavsky <npostavs@users.sourceforge.net>2020-08-24 17:33:49 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2020-08-24 17:33:49 +0200
commit9e68413c7f0a7f71e1cee923ace7282d14c2e686 (patch)
treedf39a7ebde549f0ae239bfb14d37ab6b8c1671ca /lisp/progmodes/octave.el
parent88795c52ff13203dda5940ed5defc26ce2c20e5e (diff)
downloademacs-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/progmodes/octave.el')
-rw-r--r--lisp/progmodes/octave.el2
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)