+2006-10-03 Denis St\e,A|\e(Bnkel <dstuenkel@googlemail.com> (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 <md5i@cs.cmu.edu>
* progmodes/sh-script.el (sh-prev-thing): Fix last change.
"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))
(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)