diff lisp/progmodes/python.el @ 65672:e60ed2bd9d3d

(python-describe-symbol): Add globals() and locals() to the arguments of emacs.ehelp.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 24 Sep 2005 10:58:16 +0000
parents 0ef9e8908562
children 6c46e0e1ba7b ee12d75eb214
line wrap: on
line diff
--- 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.