[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Hooks for new buffers?
From: |
W. Greenhouse |
Subject: |
Re: Hooks for new buffers? |
Date: |
Fri, 05 Apr 2013 06:03:38 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) |
Steven Degutis <sbdegutis@gmail.com> writes:
> The easiest way to solve this is to find a hook that's called when
> new buffers are created, even if that's not its official purpose.
> Apparently after-change-major-mode-hook isn't enough, presumably
> because these never changed major modes. So is there such a hook?
>
> And if not, is there at least some hook that happens whenever new
> windows are opened?
>
> -Steven
`window-configuration-change-hook', maybe?
--
BOFH excuse #39:
terrorist activities