the case when ' is at line beginning.
Fixes: debbugs:14336
+2013-05-02 Leo Liu <sdl.web@gmail.com>
+
+ * progmodes/octave.el (octave-syntax-propertize-function): Include
+ the case when ' is at line beginning. (Bug#14336)
+
2013-05-02 Glenn Morris <rgm@gnu.org>
* vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
(octave-syntax-propertize-sqs end)
(funcall (syntax-propertize-rules
;; Try to distinguish the string-quotes from the transpose-quotes.
- ("[[({,; ]\\('\\)"
+ ("\\(?:^\\|[[({,; ]\\)\\('\\)"
(1 (prog1 "\"'" (octave-syntax-propertize-sqs end)))))
(point) end))