From 3299a03a32f5e38db2e5e00fd69e45ad3c722683 Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Sat, 8 May 2004 16:40:01 +0000 Subject: [PATCH] (python-describe-symbol): Pass INTERACTIVE-P argument to `help-setup-xref'. --- lisp/progmodes/python.el | 4 ++-- 1 file 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'." (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 @@ Used with `eval-after-load'." (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 () -- 2.39.2