summaryrefslogtreecommitdiffstats
path: root/.emacs.d/etc/yasnippet/snippets/latex-mode/cite
blob: 058bd2b7a769abb533b2bcc68f0c9a9f4bffda35 (plain) (blame)
1
2
3
4
5
# -*- mode: snippet -*-
# name: cite
# key: c
# --
${1:~}\cite{${2:$$(unless yas-modified-p (mapconcat 'identity (reftex-citation 'dont-insert) ","))}} $0