From: "Óscar Fuentes" <ofv@wanadoo.es>
To: jonetsu <jonetsu@teksavvy.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to have yasnippet only for C/C++ files ?
Date: Tue, 26 Mar 2019 16:43:01 +0100 [thread overview]
Message-ID: <87o95xprp6.fsf@telefonica.net> (raw)
In-Reply-To: <20190326110557.6cca1321@mistral> (jonetsu@teksavvy.com's message of "Tue, 26 Mar 2019 11:05:57 -0400")
jonetsu <jonetsu@teksavvy.com> 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)
next prev parent reply other threads:[~2019-03-26 15:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-26 15:05 How to have yasnippet only for C/C++ files ? jonetsu
2019-03-26 15:43 ` Óscar Fuentes [this message]
2019-03-26 15:48 ` jonetsu
2019-03-26 15:46 ` Doug Davis
2019-03-26 19:08 ` jonetsu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o95xprp6.fsf@telefonica.net \
--to=ofv@wanadoo.es \
--cc=help-gnu-emacs@gnu.org \
--cc=jonetsu@teksavvy.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).