;;;###autoload
(defun iswitchb-default-keybindings ()
"Set up default keybindings for `iswitchb-buffer'.
-Call this function to override the normal bindings."
+Call this function to override the normal bindings. This function also
+adds a hook to the minibuffer."
(interactive)
+ (add-hook 'minibuffer-setup-hook 'iswitchb-minibuffer-setup)
(global-set-key (read-kbd-macro "C-x b") 'iswitchb-buffer)
(global-set-key (read-kbd-macro "C-x 4 b") 'iswitchb-buffer-other-window)
(global-set-key (read-kbd-macro "C-x 4 C-o") 'iswitchb-display-buffer)
iswitchb-temp-buflist))))
(iswitchb-to-end summaries)))
-;;; HOOKS
-(add-hook 'minibuffer-setup-hook 'iswitchb-minibuffer-setup)
-
(provide 'iswitchb)
;;; iswitchb.el ends here