]> git.eshelyaron.com Git - emacs.git/commit
(minibuffer-default-add-shell-commands): New function.
authorJuri Linkov <juri@jurta.org>
Tue, 22 Apr 2008 19:50:11 +0000 (19:50 +0000)
committerJuri Linkov <juri@jurta.org>
Tue, 22 Apr 2008 19:50:11 +0000 (19:50 +0000)
commita98a2fe87a5d0e16a3b518b5278c4818eb43caec
tree49c7ebf6f4949b03ec96418d1c72555d8cb6dbb0
parent88970542acc49553255b38913eae8dcd30f42af5
(minibuffer-default-add-shell-commands): New function.
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.
lisp/simple.el