Commit 27135018 authored by Leo Liu's avatar Leo Liu
Browse files

* progmodes/octave.el (octave-mode-syntax-table): Correct syntax

for \. 
(octave-font-lock-keywords): Include [ and {.

Fixes: debbugs:14332
parent 0d634d3a
2013-05-02 Leo Liu <sdl.web@gmail.com>
* progmodes/octave.el (octave-mode-syntax-table): Correct syntax
for \. (bug#14332)
(octave-font-lock-keywords): Include [ and {.
2013-05-02 Leo Liu <sdl.web@gmail.com>
 
* progmodes/octave.el (inferior-octave-startup-file): Change default.
......@@ -24,7 +30,7 @@
2013-05-01 Leo Liu <sdl.web@gmail.com>
 
* progmodes/octave.el: Compatible with older emacs-24 releases.
(inferior-octave-has-built-in-variables): Remove. Buil-in
(inferior-octave-has-built-in-variables): Remove. Built-in
variables were removed from Octave in 2007.
(inferior-octave-startup): Fix uses.
(comint-line-beginning-position): Remove compatibility code for
......
......@@ -111,7 +111,7 @@ parenthetical grouping.")
(progn
(goto-char (match-beginning 0))
(backward-up-list)
(unless (eq (char-after) ?\()
(unless (memq (char-after) '(?\( ?\[ ?\{))
font-lock-keyword-face))
(error font-lock-keyword-face)))
t))
......@@ -233,7 +233,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)
;; Was "w" for abbrevs, but now that it's not necessary any more,
(modify-syntax-entry ?\` "." table)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment