Kevin Rodgers <ihs_4664@yahoo.com> writes:
(defun ecb-window-configuration ()
(when (derived-mode-p 'c-mode)
;; activate ECB here
))
(add-hook 'window-configuration-change-hook 'ecb-window-configuration)
Thanks Kevin : almost there.
ecb activates, but I get (instead of the c file in the right hand buffer):
Warning: `semantic-before-toplevel-bovination-hook' is an obsolete variable;
use `semantic--before-fetch-tags-hook' instead.
Error: Wrong type argument: window-live-p, #<window 53>
Advice on how to track down the problem?