aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Eglen1999-06-05 11:48:02 +0000
committerStephen Eglen1999-06-05 11:48:02 +0000
commitee5897a42c490bfd0c499a25ae90e6ec3a559764 (patch)
tree938e8ace9c77cde17504df8cb08cb96266f4113d
parent042dc0345a4728802bc91492fe4c502ebb1e259a (diff)
downloademacs-ee5897a42c490bfd0c499a25ae90e6ec3a559764.tar.gz
emacs-ee5897a42c490bfd0c499a25ae90e6ec3a559764.zip
Add iswitchb-minibuffer-setup to minibuffer-setup-hook in
iswitchb-default-keybindings.
-rw-r--r--lisp/iswitchb.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/iswitchb.el b/lisp/iswitchb.el
index b683982f52f..f647c48f600 100644
--- a/lisp/iswitchb.el
+++ b/lisp/iswitchb.el
@@ -966,8 +966,10 @@ If BUFFER is visible in the current frame, return nil."
966;;;###autoload 966;;;###autoload
967(defun iswitchb-default-keybindings () 967(defun iswitchb-default-keybindings ()
968 "Set up default keybindings for `iswitchb-buffer'. 968 "Set up default keybindings for `iswitchb-buffer'.
969Call this function to override the normal bindings." 969Call this function to override the normal bindings. This function also
970adds a hook to the minibuffer."
970 (interactive) 971 (interactive)
972 (add-hook 'minibuffer-setup-hook 'iswitchb-minibuffer-setup)
971 (global-set-key (read-kbd-macro "C-x b") 'iswitchb-buffer) 973 (global-set-key (read-kbd-macro "C-x b") 'iswitchb-buffer)
972 (global-set-key (read-kbd-macro "C-x 4 b") 'iswitchb-buffer-other-window) 974 (global-set-key (read-kbd-macro "C-x 4 b") 'iswitchb-buffer-other-window)
973 (global-set-key (read-kbd-macro "C-x 4 C-o") 'iswitchb-display-buffer) 975 (global-set-key (read-kbd-macro "C-x 4 C-o") 'iswitchb-display-buffer)
@@ -1244,9 +1246,6 @@ This is an example function which can be hooked on to
1244 iswitchb-temp-buflist)))) 1246 iswitchb-temp-buflist))))
1245 (iswitchb-to-end summaries))) 1247 (iswitchb-to-end summaries)))
1246 1248
1247;;; HOOKS
1248(add-hook 'minibuffer-setup-hook 'iswitchb-minibuffer-setup)
1249
1250(provide 'iswitchb) 1249(provide 'iswitchb)
1251 1250
1252;;; iswitchb.el ends here 1251;;; iswitchb.el ends here