summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/syntax.el
diff options
context:
space:
mode:
authorLele Gaifax <lele@metapensiero.it>2016-04-06 10:38:23 +0200
committerJorgen Schaefer <contact@jorgenschaefer.de>2016-04-06 10:51:09 +0200
commit1f6b0bc1512de08fd542df0234476788038c8c82 (patch)
tree520ca1eabf4f5438466d771d872aa7d70f6578b0 /lisp/emacs-lisp/syntax.el
parentbd2b14f20726e0f210a62edc610fac4c5bc45760 (diff)
downloademacs-1f6b0bc1512de08fd542df0234476788038c8c82.tar.gz
emacs-1f6b0bc1512de08fd542df0234476788038c8c82.tar.bz2
emacs-1f6b0bc1512de08fd542df0234476788038c8c82.zip
Add new keywords of Python 3.5
Python 3.5, released in mid September 2015, introduced a few new keywords to better support asynchronous code, "async" and "await" in particular. See https://www.python.org/dev/peps/pep-0492/ for details. (Bug#21783) * lisp/progmodes/python.el (python-rx-constituents): Add async def/for/with as block-start and async def as defun. * lisp/progmodes/python.el (python-font-lock-keywords): Add async def/for/with as keyword. * test/automated/python-tests.el (python-indent-after-async-block-1, python-indent-after-async-block-2, python-indent-after-async-block-3, python-nav-beginning-of-defun-3): New tests to test indentation and navigation for the async keyword.
Diffstat (limited to 'lisp/emacs-lisp/syntax.el')
0 files changed, 0 insertions, 0 deletions