diff options
| author | Juanma Barranquero | 2004-05-08 16:40:01 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2004-05-08 16:40:01 +0000 |
| commit | 3299a03a32f5e38db2e5e00fd69e45ad3c722683 (patch) | |
| tree | 0110009fc4c91dbf3417ec1d60b1d95ed2b4b92c /lisp/progmodes/python.el | |
| parent | 07051573a81cc2eea9fb6db7409f37ad64842591 (diff) | |
| download | emacs-3299a03a32f5e38db2e5e00fd69e45ad3c722683.tar.gz emacs-3299a03a32f5e38db2e5e00fd69e45ad3c722683.zip | |
(python-describe-symbol): Pass INTERACTIVE-P argument to `help-setup-xref'.
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 0fdaf652e50..214b6f0e24c 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -1343,7 +1343,7 @@ don't support `help'." | |||
| 1343 | (toggle-read-only 1) | 1343 | (toggle-read-only 1) |
| 1344 | (setq view-return-to-alist | 1344 | (setq view-return-to-alist |
| 1345 | (list (cons (selected-window) help-return-method)))))) | 1345 | (list (cons (selected-window) help-return-method)))))) |
| 1346 | (help-setup-xref (list 'python-describe-symbol symbol)) | 1346 | (help-setup-xref (list 'python-describe-symbol symbol) (interactive-p)) |
| 1347 | (with-output-to-temp-buffer (help-buffer) | 1347 | (with-output-to-temp-buffer (help-buffer) |
| 1348 | (with-current-buffer standard-output | 1348 | (with-current-buffer standard-output |
| 1349 | (set (make-local-variable 'comint-redirect-subvert-readonly) t) | 1349 | (set (make-local-variable 'comint-redirect-subvert-readonly) t) |
| @@ -1387,7 +1387,7 @@ Used with `eval-after-load'." | |||
| 1387 | (string-match "^Python \\([0-9]+\\.[0-9]+\\>\\)" s) | 1387 | (string-match "^Python \\([0-9]+\\.[0-9]+\\>\\)" s) |
| 1388 | (match-string 1 s))) | 1388 | (match-string 1 s))) |
| 1389 | ;; Whether info files have a Python version suffix, e.g. in Debian. | 1389 | ;; Whether info files have a Python version suffix, e.g. in Debian. |
| 1390 | (versioned | 1390 | (versioned |
| 1391 | (with-temp-buffer | 1391 | (with-temp-buffer |
| 1392 | (with-no-warnings (Info-mode)) | 1392 | (with-no-warnings (Info-mode)) |
| 1393 | (condition-case () | 1393 | (condition-case () |