# HG changeset patch # User Gerd Moellmann # Date 996150865 0 # Node ID 37d0e44d564c22a4abb4b6d7fae16d4d0cd2bade # Parent 107f826252d266975cf344959d02431494136f79 *** empty log message *** diff -r 107f826252d2 -r 37d0e44d564c etc/NEWS --- 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). + or 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. diff -r 107f826252d2 -r 37d0e44d564c lisp/ChangeLog --- 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 + * emacs-lisp/lisp-mode.el (last-sexp-print): New function. + (eval-last-sexp-1): Give printed text a `keymap' property and bind + and 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.