diff options
| author | Joakim Verona | 2013-08-21 20:37:17 +0200 |
|---|---|---|
| committer | Joakim Verona | 2013-08-21 20:37:17 +0200 |
| commit | 696296a32ecd33da891a15ae56db6208fee5b027 (patch) | |
| tree | 3362959c3d5c3c942c76a6aaf218c529ecc4928e | |
| parent | 9c5dc5b6703306afe6970bf2d7553d085ceaa3f2 (diff) | |
| parent | 9f7b19259de7c93d3c132f359901c608a3f2e2b2 (diff) | |
| download | emacs-696296a32ecd33da891a15ae56db6208fee5b027.tar.gz emacs-696296a32ecd33da891a15ae56db6208fee5b027.zip | |
merge from trunk
| -rw-r--r-- | lisp/ChangeLog | 9 | ||||
| -rw-r--r-- | lisp/emacs-lisp/pp.el | 6 |
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 @@ | |||
| 1 | 2013-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 | |||
| 1 | 2013-08-21 Sam Steingold <sds@gnu.org> | 6 | 2013-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 | ||
| 9 | 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca> | 14 | 2013-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. |
| 128 | Also add the value to the front of the list in the variable `values'." | 128 | Also 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 () |