summaryrefslogtreecommitdiff
path: root/devdocs/elisp/printing-notation.html
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
committerCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
commit754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 (patch)
treef1190704f78f04a2b0b4c977d20fe96a828377f1 /devdocs/elisp/printing-notation.html
new repository
Diffstat (limited to 'devdocs/elisp/printing-notation.html')
-rw-r--r--devdocs/elisp/printing-notation.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/devdocs/elisp/printing-notation.html b/devdocs/elisp/printing-notation.html
new file mode 100644
index 00000000..35c5e02b
--- /dev/null
+++ b/devdocs/elisp/printing-notation.html
@@ -0,0 +1,11 @@
+ <h4 class="subsection">Printing Notation</h4> <p>Many of the examples in this manual print text when they are evaluated. If you execute example code in a Lisp Interaction buffer (such as the buffer <samp>*scratch*</samp>) by typing <kbd>C-j</kbd> after the closing parenthesis of the example, the printed text is inserted into the buffer. If you execute the example by other means (such as by evaluating the function <code>eval-region</code>), the printed text is displayed in the echo area. </p> <p>Examples in this manual indicate printed text with ‘<samp>-|</samp>’, irrespective of where that text goes. The value returned by evaluating the form follows on a separate line with ‘<samp>⇒</samp>’. </p> <div class="example"> <pre class="example">(progn (prin1 'foo) (princ "\n") (prin1 'bar))
+ -| foo
+ -| bar
+ ⇒ bar
+</pre>
+</div><div class="_attribution">
+ <p class="_attribution-p">
+ Copyright &copy; 1990-1996, 1998-2022 Free Software Foundation, Inc. <br>Licensed under the GNU GPL license.<br>
+ <a href="https://www.gnu.org/software/emacs/manual/html_node/elisp/Printing-Notation.html" class="_attribution-link">https://www.gnu.org/software/emacs/manual/html_node/elisp/Printing-Notation.html</a>
+ </p>
+</div>