[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tabbar mode screw up buffer order?
From: |
Stephen Berman |
Subject: |
Re: tabbar mode screw up buffer order? |
Date: |
Thu, 09 Oct 2008 14:18:01 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
On Wed, 8 Oct 2008 10:02:07 -0700 (PDT) Xah <xahlee@gmail.com> wrote:
> when tabbar mode is on, it seems to screw the order of my buffers. For
> example, if i have dired and i hit Return to open a file, then when i
> close the file, that dired buffer returns. But with tabbar mode on,
> some other buffers shows.
>
> How can i fix this?
(remove-hook 'kill-buffer-hook 'tabbar-buffer-kill-buffer-hook)
> Thanks.
>
> The version i'm using is:
>
> ;; Copyright (C) 2003 David Ponce
>
> ;; Author: David Ponce
> ;; Maintainer: David Ponce
> ;; Created: 25 February 2003
> ;; Keywords: convenience
> ;; Revision: $Id: tabbar.el,v 1.20 2003/06/05 08:15:49 ponced Exp $
> (defconst tabbar-version "1.3")
If you update to tabbar-version "2.0", there are many differences, and
to get the behavior you want, use this instead of the above:
(remove-hook 'kill-buffer-hook 'tabbar-buffer-track-killed)
Steve Berman