help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How to have yasnippet only for C/C++ files ?


From: Óscar Fuentes
Subject: Re: How to have yasnippet only for C/C++ files ?
Date: Tue, 26 Mar 2019 16:43:01 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.90 (gnu/linux)

jonetsu <address@hidden> writes:

> So, how to enable yasnippets only for C/C++ files ?

(add-hook 'c-mode-hook 'yas-minor-mode)
(add-hook 'c++-mode-hook 'yas-minor-mode)



reply via email to

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