Mercurial > emacs
changeset 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 | 09c8aeb9e280 |
children | df079883ac40 |
files | lisp/progmodes/python.el |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
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.