emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can dired-run-shell-command be simplified?


From: Leo
Subject: Can dired-run-shell-command be simplified?
Date: Fri, 28 Oct 2011 18:25:42 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux)

Hello all,

Can this function be simplified as follows?

(defun dired-run-shell-command (command)
  (shell-command command)
  ;; Return nil for sake of nconc in dired-bunch-files.
  nil)

shell-command handles file-name-handler already.

Leo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]