+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.
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
(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))
(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)