On Tuesday, August 5, 2003 at 12:10:34, Ronan Waide wrote:
> This being the second request for just one more config
> variable... please check what hooks are available, folks. I realise
> I've been fairly slack in adding any code to BBDB for the last while
> (mostly user-contributed bits), but I'm seriously reluctant to add
> MORE configuration options. I'd rather people used the hooks that
> already exist to have whatever mods they want done to the values
> returned by BBDB.
So I revise my tip to use the hook (what hook? I ahd to look
at the code to find it :) ... which is different much better
... add other commands to the list as needed ...
(defun dj-select-bbdb ()
(interactive)
(if (member (caar command-history) '(bbdb bbdb-name bbdb-net))
(select-window (get-buffer-window (get-buffer bbdb-buffer-name)))))
(add-hook 'bbdb-list-hook 'dj-select-bbdb)
Bye
Robert
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/