aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/emacs-lisp/pp.el
diff options
context:
space:
mode:
authorKarl Heuer <[email protected]>1998-09-13 03:37:24 +0000
committerKarl Heuer <[email protected]>1998-09-13 03:37:24 +0000
commite189df50734a6204dc1ec96c7bdde83ba8311990 (patch)
tree0226c2f93615fa10f3da9f7f24afc68c06944293 /lisp/emacs-lisp/pp.el
parent703c3a110b339bda8a24ac69e81cabbaabf451b5 (diff)
Doc fixes.
Diffstat (limited to 'lisp/emacs-lisp/pp.el')
-rw-r--r--lisp/emacs-lisp/pp.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/emacs-lisp/pp.el b/lisp/emacs-lisp/pp.el
index beb79c745a..926706a730 100644
--- a/lisp/emacs-lisp/pp.el
+++ b/lisp/emacs-lisp/pp.el
@@ -33,9 +33,9 @@
:group 'pp)
(defun pp-to-string (object)
- "Return a string containing the pretty-printed representation of OBJECT,
-any Lisp object. Quoting characters are used when needed to make output
-that `read' can handle, whenever this is possible."
+ "Return a string containing the pretty-printed representation of OBJECT.
+OBJECT can be any Lisp object. Quoting characters are used as needed
+to make output that `read' can handle, whenever this is possible."
(save-excursion
(set-buffer (generate-new-buffer " pp-to-string"))
(unwind-protect
@@ -76,7 +76,7 @@ that `read' can handle, whenever this is possible."
;;;###autoload
(defun pp (object &optional stream)
"Output the pretty-printed representation of OBJECT, any Lisp object.
-Quoting characters are printed when needed to make output that `read'
+Quoting characters are printed as needed to make output that `read'
can handle, whenever this is possible.
Output stream is STREAM, or value of `standard-output' (which see)."
(princ (pp-to-string object) (or stream standard-output)))
@@ -85,8 +85,8 @@ Output stream is STREAM, or value of `standard-output' (which see)."
(defun pp-eval-expression (expression)
"Evaluate EXPRESSION and pretty-print value into a new display buffer.
If the pretty-printed value fits on one line, the message line is used
-instead. Value is also consed on to front of variable values 's
-value."
+instead. The value is also consed onto the front of the list
+in the variable `values'."
(interactive "xPp-eval: ")
(setq values (cons (eval expression) values))
(let* ((old-show-function temp-buffer-show-function)