(defvar minibuffer-local-shell-command-map
(let ((map (make-sparse-keymap)))
(set-keymap-parent map minibuffer-local-map)
- (define-key map "\t" 'completion-at-point)
- (define-key map [M-up] 'minibuffer-choose-previous-completion)
- (define-key map [M-down] 'minibuffer-choose-next-completion)
- (define-key map [M-S-up] 'minibuffer-previous-completion)
- (define-key map [M-S-down] 'minibuffer-next-completion)
- (define-key map [?\M-\r] 'minibuffer-choose-completion)
+ (define-key map "\t" #'completion-at-point)
+ (define-key map [M-up] #'minibuffer-choose-previous-completion)
+ (define-key map [M-down] #'minibuffer-choose-next-completion)
+ (define-key map [M-S-up] #'minibuffer-previous-completion)
+ (define-key map [M-S-down] #'minibuffer-next-completion)
+ (define-key map [?\M-\r] #'minibuffer-choose-completion)
map)
"Keymap used for completing shell commands in minibuffer.")