diff options
| author | Eli Zaretskii | 2005-09-24 10:58:16 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2005-09-24 10:58:16 +0000 |
| commit | ee6e99e0f0c6ec8a6e52c6e878387b3147d9508c (patch) | |
| tree | c3ed59f335ea7efd40710a9960e77c357cbd6888 /lisp/progmodes/python.el | |
| parent | 999f7d65195dbc448c2bbfe3de7db91fbf2108ec (diff) | |
| download | emacs-ee6e99e0f0c6ec8a6e52c6e878387b3147d9508c.tar.gz emacs-ee6e99e0f0c6ec8a6e52c6e878387b3147d9508c.zip | |
(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'." | |||
| 1341 | nil nil symbol)))) | 1341 | nil nil symbol)))) |
| 1342 | (if (equal symbol "") (error "No symbol")) | 1342 | (if (equal symbol "") (error "No symbol")) |
| 1343 | (let* ((func `(lambda () | 1343 | (let* ((func `(lambda () |
| 1344 | (comint-redirect-send-command (format "emacs.ehelp(%S)\n" | 1344 | (comint-redirect-send-command |
| 1345 | ,symbol) | 1345 | (format "emacs.ehelp(%S, globals(), locals())\n" ,symbol) |
| 1346 | "*Help*" nil)))) | 1346 | "*Help*" nil)))) |
| 1347 | ;; Ensure we have a suitable help buffer. | 1347 | ;; Ensure we have a suitable help buffer. |
| 1348 | ;; Fixme: Maybe process `Related help topics' a la help xrefs and | 1348 | ;; Fixme: Maybe process `Related help topics' a la help xrefs and |
| 1349 | ;; allow C-c C-f in help buffer. | 1349 | ;; allow C-c C-f in help buffer. |