Mercurial > emacs
diff lisp/progmodes/python.el @ 55447:f1b7359315f0
(python-describe-symbol): Pass INTERACTIVE-P argument to `help-setup-xref'.
| author | Juanma Barranquero <lekktu@gmail.com> |
|---|---|
| date | Sat, 08 May 2004 16:40:01 +0000 |
| parents | a828ab1b3079 |
| children | 4e81c5df6c36 |
line wrap: on
line diff
--- a/lisp/progmodes/python.el Sat May 08 16:38:33 2004 +0000 +++ b/lisp/progmodes/python.el Sat May 08 16:40:01 2004 +0000 @@ -1343,7 +1343,7 @@ (toggle-read-only 1) (setq view-return-to-alist (list (cons (selected-window) help-return-method)))))) - (help-setup-xref (list 'python-describe-symbol symbol)) + (help-setup-xref (list 'python-describe-symbol symbol) (interactive-p)) (with-output-to-temp-buffer (help-buffer) (with-current-buffer standard-output (set (make-local-variable 'comint-redirect-subvert-readonly) t) @@ -1387,7 +1387,7 @@ (string-match "^Python \\([0-9]+\\.[0-9]+\\>\\)" s) (match-string 1 s))) ;; Whether info files have a Python version suffix, e.g. in Debian. - (versioned + (versioned (with-temp-buffer (with-no-warnings (Info-mode)) (condition-case ()
