Diredモードでファイルの作成

Diredモードで dired-create-directoryはあるのになんで dired-create-file
はないのかなぁーと不思議に思ってた。あそっか、shell-command で
tocuh 'filename'としてやれば済む話だからか、と納得。
それで shell-command で試してみたら、mcompleteの補完機能とぶつかって
うまくコマンドを渡せない事が発覚。今までずっとeshellを使ってたから気がつかなかった。mcomplete.elを開いて、mapcar に渡すリストの最後に ido-shell-command を追加して無事解決。

(mapcar #'(lambda (f) (put f 'mcomplete-mode '(:mode off)))
        '(iswitchb-buffer iswitchb-buffer-other-window
          iswitchb-display-buffer iswitchb-buffer-other-frame
          
          ido-find-file ido-find-alternate-file ido-write-file
          ido-insert-file ido-switch-buffer ido-insert-buffer
          ido-kill-buffer ido-find-file-other-window
          ido-find-file-other-window ido-switch-buffer-other-window
          ido-display-buffer ido-find-file-other-frame
          ido-switch-buffer-other-frame ido-shell-command))

でも、 だったら dired-create-directory だって mkdir 'dirname'でいいんじゃ?