1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-23 06:00:41 -08:00

Revert "* lisp/ibuf-ext.el (ibuffer-do-shell-command-file):"

This reverts commit b0c447e466.
Do not merge to master!
This commit is contained in:
Eli Zaretskii 2016-10-23 16:03:25 +03:00
parent 1dd7b54a7e
commit d784e75776

View file

@ -347,14 +347,10 @@ the mode if ARG is omitted or nil."
:modifier-p nil) :modifier-p nil)
(shell-command (concat command " " (shell-command (concat command " "
(shell-quote-argument (shell-quote-argument
(or buffer-file-name (if buffer-file-name
(let ((file buffer-file-name
(make-temp-file (make-temp-file
(substring (substring (buffer-name) 0 (min 10 (length (buffer-name))))))))))
(buffer-name) 0
(min 10 (length (buffer-name)))))))
(write-region nil nil file nil 0)
file))))))
;;;###autoload (autoload 'ibuffer-do-eval "ibuf-ext") ;;;###autoload (autoload 'ibuffer-do-eval "ibuf-ext")
(define-ibuffer-op eval (form) (define-ibuffer-op eval (form)