help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange Iswitchb behavior


From: TT
Subject: Re: Strange Iswitchb behavior
Date: Thu, 7 Jun 2001 16:34:38 +0200 (CEST)

> Yes.  You missed the fact that
iswitchb-default-keybindings does this:
> 
> (add-hook 'minibuffer-setup-hook
'iswitchb-minibuffer-setup)
> 

Whoops. It seems that I was browsing the lisp source of an
older installation (20.3).

There iswitchb-default-keybindings look like this:

  ;;;###autoload
  (defun iswitchb-default-keybindings ()
    "Set up default keybindings for `iswitchb-buffer'.
  Call this function to override the normal bindings."
    (interactive)
    (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)
    (global-set-key (read-kbd-macro "C-x 5 b") 
'iswitchb-buffer-other-frame))

And the hook is set up at the end:

  ;;; HOOKS
  (add-hook 'minibuffer-setup-hook
'iswitchb-minibuffer-setup)

  (provide 'iswitchb)

  ;;; iswitchb.el ends here


It's time to update my bookmarks :)

  lisp          /usr/local/share/emacs/20.3/lisp/


Thanks for the answer.


regards,

Tom





reply via email to

[Prev in Thread] Current Thread [Next in Thread]