Starting dired with M-x dired
and hitting M-x dired-create-directory
I am now in a mini-buffer. Which mode-hook do I use to set a keybinding for the mini-buffer?
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.
Sign up to join this communityStarting dired with M-x dired
and hitting M-x dired-create-directory
I am now in a mini-buffer. Which mode-hook do I use to set a keybinding for the mini-buffer?
M-x
. ForM-x
just useminibuffer-local-must-match-map
. And I know of no functiondired-make-directory
. The minibuffer hooks areminibuffer-exit-hook
,minibuffer-inactive-mode-hook
, andminibuffer-setup-hook
. And yes, see the URL that @lawlist mentioned for more info about minibuffer maps. But first, please clarify what you are asking - it is not at all clear. – Drew Jan 16 '15 at 5:41