comparison lisp/progmodes/python.el @ 104386:2e0765155e47

Use help-print-return-message rather than the now obsolete alias.
author Glenn Morris <rgm@gnu.org>
date Fri, 21 Aug 2009 07:24:26 +0000
parents 603bb57bb542
children 468b7fa34d2c
comparison
equal deleted inserted replaced
104385:bc2e79adb401 104386:2e0765155e47
1785 (with-output-to-temp-buffer (help-buffer) 1785 (with-output-to-temp-buffer (help-buffer)
1786 (with-current-buffer standard-output 1786 (with-current-buffer standard-output
1787 ;; Fixme: Is this actually useful? 1787 ;; Fixme: Is this actually useful?
1788 (help-setup-xref (list 'python-describe-symbol symbol) (interactive-p)) 1788 (help-setup-xref (list 'python-describe-symbol symbol) (interactive-p))
1789 (set (make-local-variable 'comint-redirect-subvert-readonly) t) 1789 (set (make-local-variable 'comint-redirect-subvert-readonly) t)
1790 (print-help-return-message)))) 1790 (help-print-return-message))))
1791 (comint-redirect-send-command-to-process (format "emacs.ehelp(%S, %s)" 1791 (comint-redirect-send-command-to-process (format "emacs.ehelp(%S, %s)"
1792 symbol python-imports) 1792 symbol python-imports)
1793 "*Help*" (python-proc) nil nil)) 1793 "*Help*" (python-proc) nil nil))
1794 1794
1795 (add-to-list 'debug-ignored-errors "^No symbol") 1795 (add-to-list 'debug-ignored-errors "^No symbol")