• Juri Linkov's avatar
    (minibuffer-default-add-shell-commands): New function. · a98a2fe8
    Juri Linkov authored
    Use declare-function for mailcap-file-default-commands from "mailcap".
    (shell-command): Set local minibuffer-default-add-function to
    minibuffer-default-add-shell-commands in minibuffer-with-setup-hook
    before calling read-shell-command.  Set 4th arg default-value of
    read-shell-command to relative buffer-file-name in file buffers.
    a98a2fe8
simple.el 235 KB