# HG changeset patch # User Eli Zaretskii # Date 1127559496 0 # Node ID e60ed2bd9d3dadc401b3c24aef533e7d47350a54 # Parent 09c8aeb9e280e1e2c5b6ce335accdf404635036d (python-describe-symbol): Add globals() and locals() to the arguments of emacs.ehelp. diff -r 09c8aeb9e280 -r e60ed2bd9d3d lisp/progmodes/python.el --- a/lisp/progmodes/python.el Sat Sep 24 10:46:03 2005 +0000 +++ b/lisp/progmodes/python.el Sat Sep 24 10:58:16 2005 +0000 @@ -1341,9 +1341,9 @@ 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.