comparison lisp/simple.el @ 93113:c0af5c9f100b

(read-shell-command): Typo.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 20 Mar 2008 19:52:30 +0000
parents 6ed43e8a395c
children f9b87932bf05
comparison
equal deleted inserted replaced
93112:6ed43e8a395c 93113:c0af5c9f100b
1939 The arguments are the same as the ones of `read-from-minibuffer', 1939 The arguments are the same as the ones of `read-from-minibuffer',
1940 except READ and KEYMAP are missing and HIST defaults 1940 except READ and KEYMAP are missing and HIST defaults
1941 to `shell-command-history'." 1941 to `shell-command-history'."
1942 (apply 'read-from-minibuffer prompt initial-contents 1942 (apply 'read-from-minibuffer prompt initial-contents
1943 (or keymap minibuffer-local-shell-command-map) 1943 (or keymap minibuffer-local-shell-command-map)
1944 nil
1944 (or hist 'shell-command-history) 1945 (or hist 'shell-command-history)
1945 args)) 1946 args))
1946 1947
1947 (defun shell-command (command &optional output-buffer error-buffer) 1948 (defun shell-command (command &optional output-buffer error-buffer)
1948 "Execute string COMMAND in inferior shell; display output, if any. 1949 "Execute string COMMAND in inferior shell; display output, if any.