emacs: add some tex-mode hooks for better editing experience
[~bandali/configs] / .emacs.d / etc / yasnippet / snippets / latex-mode / cite
... / ...
CommitLineData
1# -*- mode: snippet -*-
2# name: cite
3# key: c
4# --
5$1${2:~}\cite{${3:$$(unless yas-modified-p (mapconcat 'identity (reftex-citation 'dont-insert) ","))}}$0