diff options
author | Laurence Warne <laurencewarne@gmail.com> | 2022-08-09 08:33:18 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-08-09 19:21:36 +0200 |
commit | b92e88875802724af9e08201ea65a96dd5f20ff1 (patch) | |
tree | 9a0136781ddab7618c4752d60c1c84830a07d95a /test/lisp/emacs-lisp/shortdoc-tests.el | |
parent | 3ef18c7a213f4f3c03eec033fcb8219fb17cd53d (diff) | |
download | emacs-b92e88875802724af9e08201ea65a96dd5f20ff1.tar.gz emacs-b92e88875802724af9e08201ea65a96dd5f20ff1.tar.bz2 emacs-b92e88875802724af9e08201ea65a96dd5f20ff1.zip |
Fix python escape code fontification for multi-line literals
* lisp/progmodes/python.el (python--string-bytes-literal-matcher): Go
backward one char after a match so that consecutive escape codes are
highlighted
(python--not-raw-string-literal-start-regexp): Make regular expression
more comprehensive, so multi-line bytes literals are not caught
(python-rx): Accept one to three octal digits in octal escape codes
instead of always three
Diffstat (limited to 'test/lisp/emacs-lisp/shortdoc-tests.el')
0 files changed, 0 insertions, 0 deletions