From deea36f0ece7b1b14afe2a833b6a0f66d59f4459 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabi=C3=A1n=20Ezequiel=20Gallina?= Date: Sun, 5 Apr 2015 23:58:13 -0300 Subject: 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. --- lisp/ChangeLog | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'lisp/ChangeLog') diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8ea7f4a3cc8..c7d4dd5bac0 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,14 @@ +2015-04-06 Fabián Ezequiel Gallina + + python.el: Enhance docstring detection following PEP-257. + + * 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. + 2015-04-05 Eli Zaretskii * ses.el (ses-sym-rowcol): Move up, before the first use, to avoid -- cgit v1.2.1