aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorEli Zaretskii <[email protected]>2005-09-24 10:58:16 +0000
committerEli Zaretskii <[email protected]>2005-09-24 10:58:16 +0000
commitee6e99e0f0c6ec8a6e52c6e878387b3147d9508c (patch)
treec3ed59f335ea7efd40710a9960e77c357cbd6888 /lisp
parent999f7d65195dbc448c2bbfe3de7db91fbf2108ec (diff)
(python-describe-symbol): Add globals() and locals() to the arguments
of emacs.ehelp.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/progmodes/python.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 433476f795..f778840435 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -1341,9 +1341,9 @@ don't support `help'."
nil nil symbol))))
(if (equal symbol "") (error "No symbol"))
(let* ((func `(lambda ()
- (comint-redirect-send-command (format "emacs.ehelp(%S)\n"
- ,symbol)
- "*Help*" nil))))
+ (comint-redirect-send-command
+ (format "emacs.ehelp(%S, globals(), locals())\n" ,symbol)
+ "*Help*" nil))))
;; Ensure we have a suitable help buffer.
;; Fixme: Maybe process `Related help topics' a la help xrefs and
;; allow C-c C-f in help buffer.