[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: which mode am I using?

From: Stefan Monnier
Subject: Re: which mode am I using?
Date: Sun, 21 Sep 2003 20:16:40 GMT
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

> I need to test whether the current buffer is in c mode or not: 
> (if (is-c-mode)
>     (do-something))

(if (derived-mode-p 'c-mode) ...)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]