Mercurial > emacs
changeset 38573:37d0e44d564c
*** empty log message ***
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Thu, 26 Jul 2001 12:34:25 +0000 |
parents | 107f826252d2 |
children | 79a0d7b341b3 |
files | etc/NEWS lisp/ChangeLog |
diffstat | 2 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/etc/NEWS Thu Jul 26 12:31:38 2001 +0000 +++ b/etc/NEWS Thu Jul 26 12:34:25 2001 +0000 @@ -1150,6 +1150,9 @@ the list is longer or deeper than that, an ellipsis `...' is printed). +<RET> or <mouse-2> on the printed text replace the abbreviated printed +representation with an unabbreviated one. + The default value of eval-expression-debug-on-error is t, so any error during evaluation produces a backtrace.
--- a/lisp/ChangeLog Thu Jul 26 12:31:38 2001 +0000 +++ b/lisp/ChangeLog Thu Jul 26 12:34:25 2001 +0000 @@ -1,5 +1,10 @@ 2001-07-26 Gerd Moellmann <gerd@gnu.org> + * emacs-lisp/lisp-mode.el (last-sexp-print): New function. + (eval-last-sexp-1): Give printed text a `keymap' property and bind + <mouse-2> and <RET> in that map to a function printing the + unabbreviated value. + * emacs-lisp/lisp-mode.el (eval-last-sexp-1): If standard-output is a buffer, put a text property `printed-value' on the printed representation, with the Lisp object printed as value.