summaryrefslogtreecommitdiff
path: root/lisp/ChangeLog
diff options
context:
space:
mode:
authorFabián Ezequiel Gallina <fgallina@gnu.org>2015-04-05 23:58:13 -0300
committerFabián Ezequiel Gallina <fgallina@gnu.org>2015-04-05 23:58:13 -0300
commitdeea36f0ece7b1b14afe2a833b6a0f66d59f4459 (patch)
treee3e41e0a5a03b0ea83b293c0c65835be038d56d4 /lisp/ChangeLog
parent7514b24b6a512d85b762c603e9e0107d2c8a52f1 (diff)
downloademacs-deea36f0ece7b1b14afe2a833b6a0f66d59f4459.tar.gz
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/ChangeLog')
-rw-r--r--lisp/ChangeLog11
1 files changed, 11 insertions, 0 deletions
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 <fgallina@gnu.org>
+
+ 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 <eliz@gnu.org>
* ses.el (ses-sym-rowcol): Move up, before the first use, to avoid