Mercurial > emacs
changeset 10329:aa393c4b380c
Add autoload cookies.
author | Noah Friedman <friedman@splode.com> |
---|---|
date | Tue, 03 Jan 1995 23:44:44 +0000 |
parents | edd33989fb23 |
children | 240a2c88d439 |
files | lisp/emacs-lisp/pp.el |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/emacs-lisp/pp.el Tue Jan 03 23:44:25 1995 +0000 +++ b/lisp/emacs-lisp/pp.el Tue Jan 03 23:44:44 1995 +0000 @@ -87,6 +87,7 @@ (buffer-string)) (kill-buffer (current-buffer))))) +;;;###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' @@ -94,6 +95,7 @@ Output stream is STREAM, or value of `standard-output' (which see)." (princ (pp-to-string object) (or stream standard-output))) +;;;###autoload (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 @@ -129,6 +131,7 @@ (set-buffer "*Pp Eval Output*") (emacs-lisp-mode)))) +;;;###autoload (defun pp-eval-last-sexp (arg) "Run `pp-eval-expression' on sexp before point (which see). With argument, pretty-print output into current buffer.