diff options
author | John Paul Wallington <[email protected]> | 2006-10-02 23:26:42 +0000 |
---|---|---|
committer | John Paul Wallington <[email protected]> | 2006-10-02 23:26:42 +0000 |
commit | a0370ba42e123de20e3267d920968a980345c39d (patch) | |
tree | e3d8f2b71a32b71ccf9f252684c5bc1f9b74036b /lisp | |
parent | 2ec6dd12200bb769d53fec3fb7f77bd9bd254b0e (diff) |
(eval, view-and-eval) <define-ibuffer-op>: Use the interactive spec of
`eval-expression'. From Denis St�� <[email protected]>.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/ChangeLog | 5 | ||||
-rw-r--r-- | lisp/ibuf-ext.el | 12 |
2 files changed, 15 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f6534c07b6..92c9d10878 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2006-10-03 Denis St,A|(Bnkel <[email protected]> (tiny change) + + * ibuf-ext.el (eval, view-and-eval) <define-ibuffer-op>: + Use the interactive spec of `eval-expression'. + 2006-10-02 Michael Welsh Duggan <[email protected]> * progmodes/sh-script.el (sh-prev-thing): Fix last change. diff --git a/lisp/ibuf-ext.el b/lisp/ibuf-ext.el index 292e158c09..4ab7b9eda4 100644 --- a/lisp/ibuf-ext.el +++ b/lisp/ibuf-ext.el @@ -370,7 +370,11 @@ With numeric ARG, enable auto-update if and only if ARG is positive." "Evaluate FORM in each of the buffers. Does not display the buffer during evaluation. See `ibuffer-do-view-and-eval' for that." - (:interactive "xEval in buffers (form): " + (:interactive + (list + (read-from-minibuffer + "Eval in buffers (form): " + nil read-expression-map t 'read-expression-history)) :opstring "evaluated in" :modifier-p :maybe) (eval form)) @@ -379,7 +383,11 @@ Does not display the buffer during evaluation. See (define-ibuffer-op view-and-eval (form) "Evaluate FORM while displaying each of the marked buffers. To evaluate a form without viewing the buffer, see `ibuffer-do-eval'." - (:interactive "xEval viewing buffers (form): " + (:interactive + (list + (read-from-minibuffer + "Eval viewing in buffers (form): " + nil read-expression-map t 'read-expression-history)) :opstring "evaluated in" :complex t :modifier-p :maybe) |