Subject: bug#42578: 28.0.50; [suggestion] allow dired-do-shell-command on directory line

From: Marco Wahl <[email-masked]>
Date: Fri, 31 Jul 2020 16:24:29 +0200

Marco Wahl <[email-masked]> writes:

>>> I'm fine with closing this issue now.
>
>> Done.
>
> Thanks!
>
> The command dired-smart-shell-command AKA M-! can be bound to "!" in
> dired like so
>
> #v+
> (add-hook
>  'dired-mode-hook
>  (lambda ()
>    (define-key dired-mode-map "!" #'dired-smart-shell-command)))
> #v-
>
> For all the folks out there who want to save that extra "M-".
>
> Just for the record.

The above is not so clever because then the usual binding for ! in dired
for files gets overwritten.

Sorry for posting the above, that was too quick.

Best regards,
-- 
Marco