aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorEli Zaretskii2006-01-21 11:48:25 +0000
committerEli Zaretskii2006-01-21 11:48:25 +0000
commit13b0ddbd62d774590caf467467a840fc7a80ac6d (patch)
tree05a128f120c9f3864df5dc34c5df3362f566b038 /lisp/progmodes/python.el
parentf70c5e4559edc13c739100d32c2e563d89ad9836 (diff)
downloademacs-13b0ddbd62d774590caf467467a840fc7a80ac6d.tar.gz
emacs-13b0ddbd62d774590caf467467a840fc7a80ac6d.zip
(python-mode) <eldoc-mode-hook>: Pass nil as the first arg to run-python.
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 6ed2e39e4e8..0ed58fd558e 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -1743,7 +1743,7 @@ lines count as headers.
1743 (set (make-local-variable 'eldoc-documentation-function) 1743 (set (make-local-variable 'eldoc-documentation-function)
1744 #'python-eldoc-function) 1744 #'python-eldoc-function)
1745 (add-hook 'eldoc-mode-hook 1745 (add-hook 'eldoc-mode-hook
1746 '(lambda () (run-python 0 t)) nil t) ; need it running 1746 '(lambda () (run-python nil t)) nil t) ; need it running
1747 (if (featurep 'hippie-exp) 1747 (if (featurep 'hippie-exp)
1748 (set (make-local-variable 'hippie-expand-try-functions-list) 1748 (set (make-local-variable 'hippie-expand-try-functions-list)
1749 (cons 'python-try-complete hippie-expand-try-functions-list))) 1749 (cons 'python-try-complete hippie-expand-try-functions-list)))