diff options
author | Fabián Ezequiel Gallina <fgallina@gnu.org> | 2015-04-05 23:58:13 -0300 |
---|---|---|
committer | Fabián Ezequiel Gallina <fgallina@gnu.org> | 2015-04-05 23:58:13 -0300 |
commit | deea36f0ece7b1b14afe2a833b6a0f66d59f4459 (patch) | |
tree | e3e41e0a5a03b0ea83b293c0c65835be038d56d4 /lisp/emacs-lisp/find-func.el | |
parent | 7514b24b6a512d85b762c603e9e0107d2c8a52f1 (diff) | |
download | emacs-deea36f0ece7b1b14afe2a833b6a0f66d59f4459.tar.gz emacs-deea36f0ece7b1b14afe2a833b6a0f66d59f4459.tar.bz2 emacs-deea36f0ece7b1b14afe2a833b6a0f66d59f4459.zip |
python.el: Enhance docstring detection following PEP-257.
* lisp/progmodes/python.el (python-docstring-at-p): Remove function.
(python-info-assignment-statement-p): New function.
(python-info-assignment-continuation-line-p): Use it.
(python-info-docstring-p): New function.
(python-font-lock-syntactic-face-function)
(python-fill-string): Use it.
* test/automated/python-tests.el (python-info-assignment-statement-p-1)
(python-info-assignment-statement-p-2)
(python-info-assignment-statement-p-3, python-info-docstring-p-1)
(python-info-docstring-p-2, python-info-docstring-p-3)
(python-info-docstring-p-4, python-info-docstring-p-5)
(python-info-docstring-p-6): New tests.
Diffstat (limited to 'lisp/emacs-lisp/find-func.el')
0 files changed, 0 insertions, 0 deletions