aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index a2d85d0bef8..67383b34154 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -5544,8 +5544,10 @@ REPORT-FN is Flymake's callback function."
5544 ;; Emacs<25 5544 ;; Emacs<25
5545 (set (make-local-variable 'eldoc-documentation-function) 5545 (set (make-local-variable 'eldoc-documentation-function)
5546 #'python-eldoc-function) 5546 #'python-eldoc-function)
5547 (add-function :before-until (local 'eldoc-documentation-function) 5547 (if (boundp 'eldoc-documentation-functions)
5548 #'python-eldoc-function)) 5548 (add-hook 'eldoc-documentation-functions #'python-eldoc-function nil t)
5549 (add-function :before-until (local 'eldoc-documentation-function)
5550 #'python-eldoc-function)))
5549 5551
5550 (add-to-list 5552 (add-to-list
5551 'hs-special-modes-alist 5553 'hs-special-modes-alist