c77ba18e71
- Re-prioritise lower-case "s": silent is more common than session - The $0 doesn't actually seem to change the final cursor position, and if the snippet is cancelled it is left behind as clutter. - Fix incorrect labelling with NoWeb snippet
6 lines
184 B
Plaintext
6 lines
184 B
Plaintext
# -*- mode: snippet -*-
|
|
# name: Header arg - session
|
|
# key: S
|
|
# condition: (+yas/org-src-header-p)
|
|
# --
|
|
:session "${1:`(file-name-base (or (buffer-file-name) "unnnamed"))`-session}" $0 |