emacs-config/snippets/org-mode/header-arg-eval
TEC c77ba18e71
Org: Tweak header arg snippets
- 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
2021-06-04 22:34:34 +08:00

6 lines
245 B
Plaintext

# -*- mode: snippet -*-
# name: Header arg - eval
# key: v
# condition: (+yas/org-src-header-p)
# --
`(let ((out (+yas/org-prompt-header-arg :eval "Evaluate: " '("no" "query" "no-export" "query-export")))) (if out (concat ":eval " out " ") ""))`