comparison lispref/display.texi @ 52923:41c0ac1a4ed4

(Temporary Displays): Add xref to `Documentation Tips'.
author Luc Teirlinck <teirllm@auburn.edu>
date Thu, 23 Oct 2003 20:41:28 +0000
parents 4330ac057822
children eb3f1895daff
comparison
equal deleted inserted replaced
52922:4316ad659497 52923:41c0ac1a4ed4
799 This function executes @var{forms} while arranging to insert any output 799 This function executes @var{forms} while arranging to insert any output
800 they print into the buffer named @var{buffer-name}, which is first 800 they print into the buffer named @var{buffer-name}, which is first
801 created if necessary, and put into Help mode. Finally, the buffer is 801 created if necessary, and put into Help mode. Finally, the buffer is
802 displayed in some window, but not selected. 802 displayed in some window, but not selected.
803 803
804 If the @var{forms} do not change the major mode in the output buffer, so 804 If the @var{forms} do not change the major mode in the output buffer,
805 that it is still Help mode at the end of their execution, then 805 so that it is still Help mode at the end of their execution, then
806 @code{with-output-to-temp-buffer} makes this buffer read-only at the 806 @code{with-output-to-temp-buffer} makes this buffer read-only at the
807 end, and also scans it for function and variable names to make them into 807 end, and also scans it for function and variable names to make them
808 clickable cross-references. 808 into clickable cross-references. @xref{Documentation Tips, , Tips for
809 Documentation Strings}.
809 810
810 The string @var{buffer-name} specifies the temporary buffer, which 811 The string @var{buffer-name} specifies the temporary buffer, which
811 need not already exist. The argument must be a string, not a buffer. 812 need not already exist. The argument must be a string, not a buffer.
812 The buffer is erased initially (with no questions asked), and it is 813 The buffer is erased initially (with no questions asked), and it is
813 marked as unmodified after @code{with-output-to-temp-buffer} exits. 814 marked as unmodified after @code{with-output-to-temp-buffer} exits.