aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog9
-rw-r--r--lisp/emacs-lisp/pp.el6
2 files changed, 9 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 9050178b706..d8bae263da2 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,10 +1,15 @@
12013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4 Use read--expression so that completion works again.
5
12013-08-21 Sam Steingold <sds@gnu.org> 62013-08-21 Sam Steingold <sds@gnu.org>
2 7
3 Add rudimentary inferior shell interaction 8 Add rudimentary inferior shell interaction
4 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable. 9 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5 (sh-set-shell): Reset it. 10 (sh-set-shell): Reset it.
6 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step): New 11 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7 commands (bound to C-c C-z, C-c C-d, and C-c C-n). 12 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
8 13
92013-08-20 Stefan Monnier <monnier@iro.umontreal.ca> 142013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
10 15
diff --git a/lisp/emacs-lisp/pp.el b/lisp/emacs-lisp/pp.el
index b7e553272f2..4cb089aca97 100644
--- a/lisp/emacs-lisp/pp.el
+++ b/lisp/emacs-lisp/pp.el
@@ -127,8 +127,7 @@ after OUT-BUFFER-NAME."
127 "Evaluate EXPRESSION and pretty-print its value. 127 "Evaluate EXPRESSION and pretty-print its value.
128Also add the value to the front of the list in the variable `values'." 128Also add the value to the front of the list in the variable `values'."
129 (interactive 129 (interactive
130 (list (read-from-minibuffer "Eval: " nil read-expression-map t 130 (list (read--expression "Eval: ")))
131 'read-expression-history)))
132 (message "Evaluating...") 131 (message "Evaluating...")
133 (setq values (cons (eval expression) values)) 132 (setq values (cons (eval expression) values))
134 (pp-display-expression (car values) "*Pp Eval Output*")) 133 (pp-display-expression (car values) "*Pp Eval Output*"))
@@ -137,8 +136,7 @@ Also add the value to the front of the list in the variable `values'."
137(defun pp-macroexpand-expression (expression) 136(defun pp-macroexpand-expression (expression)
138 "Macroexpand EXPRESSION and pretty-print its value." 137 "Macroexpand EXPRESSION and pretty-print its value."
139 (interactive 138 (interactive
140 (list (read-from-minibuffer "Macroexpand: " nil read-expression-map t 139 (list (read--expression "Macroexpand: ")))
141 'read-expression-history)))
142 (pp-display-expression (macroexpand expression) "*Pp Macroexpand Output*")) 140 (pp-display-expression (macroexpand expression) "*Pp Macroexpand Output*"))
143 141
144(defun pp-last-sexp () 142(defun pp-last-sexp ()