# HG changeset patch # User Stephen Eglen # Date 928583282 0 # Node ID 788dc6ff04da3b2806cbbaa1f46fb948436d92d0 # Parent 649cfea33b84c915131c4ec67e079a94fa0bd13a Add iswitchb-minibuffer-setup to minibuffer-setup-hook in iswitchb-default-keybindings. diff -r 649cfea33b84 -r 788dc6ff04da lisp/iswitchb.el --- a/lisp/iswitchb.el Sat Jun 05 01:18:14 1999 +0000 +++ b/lisp/iswitchb.el Sat Jun 05 11:48:02 1999 +0000 @@ -966,8 +966,10 @@ ;;;###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) @@ -1244,9 +1246,6 @@ iswitchb-temp-buflist)))) (iswitchb-to-end summaries))) -;;; HOOKS -(add-hook 'minibuffer-setup-hook 'iswitchb-minibuffer-setup) - (provide 'iswitchb) ;;; iswitchb.el ends here