David Rod <[EMAIL PROTECTED]> writes:

Hi David,

>> ..., but kill-buffer-hook gets called with the
>> buffer being killed as the current buffer, so you can look at
>> buffer-local variables like major-mode to see.
>
> How do I look at buffer-local variables?

There's no difference than looking to a global variable, e.g.

    (if (eq major-mode 'foobar-mode)
        (do-stuff)
      (do-other-stuff))

(major-mode is always buffer-local.)

Bye,
Tassilo
-- 
My opinions may have changed, but not the fact that I am right.



_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to