summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2001-07-26 12:34:25 +0000
committerGerd Moellmann <gerd@gnu.org>2001-07-26 12:34:25 +0000
commitf6e6cdf26a9cba29ddd2b042c03d5ea84ed7637b (patch)
tree5cd11ee43ffa7d8b49b9976a91d1111b4740aeff
parent5f0962558df85aeae85511bf2abf85e6a035544d (diff)
downloademacs-f6e6cdf26a9cba29ddd2b042c03d5ea84ed7637b.tar.gz
*** empty log message ***
-rw-r--r--etc/NEWS3
-rw-r--r--lisp/ChangeLog5
2 files changed, 8 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 7c9d68d6e36..e0e8d8a20c2 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1150,6 +1150,9 @@ the first 12 members of a list and at most 4 nesting levels deep (if
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.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 6a79bc7109a..cd9de63f868 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -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.