From: Eli Zaretskii Date: Sat, 24 Sep 2005 10:58:16 +0000 (+0000) Subject: (python-describe-symbol): Add globals() and locals() to the arguments X-Git-Tag: emacs-pretest-22.0.90~6967 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ee6e99e0f0c6ec8a6e52c6e878387b3147d9508c;p=emacs.git (python-describe-symbol): Add globals() and locals() to the arguments of emacs.ehelp. --- 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.