diff options
author | Eli Zaretskii <eliz@gnu.org> | 2005-09-24 10:58:16 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2005-09-24 10:58:16 +0000 |
commit | ee6e99e0f0c6ec8a6e52c6e878387b3147d9508c (patch) | |
tree | c3ed59f335ea7efd40710a9960e77c357cbd6888 /lisp/progmodes/python.el | |
parent | 999f7d65195dbc448c2bbfe3de7db91fbf2108ec (diff) | |
download | emacs-ee6e99e0f0c6ec8a6e52c6e878387b3147d9508c.tar.gz |
(python-describe-symbol): Add globals() and locals() to the arguments
of emacs.ehelp.
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r-- | lisp/progmodes/python.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 433476f7957..f7788404350 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. |