unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Org-babel templates
@ 2021-05-04 23:17 michael-franzese
  0 siblings, 0 replies; only message in thread
From: michael-franzese @ 2021-05-04 23:17 UTC (permalink / raw)
  To: Help Gnu Emacs


Am trying to got the language template to work with org-babel
and the completion is not executing.  I might be missing some
important thing, but is not straightforward to know exactly.

(defun pachamama-orgstruct ()
  "Example: < f <tab>"

  (require 'tempo)
  (setq tempo-interactive t)

  (add-to-list 'org-structure-template-alist
	       '( ("f"    . "src fortran")
		  ("lisp" . "src lisp")
		  ("el"   . "src emacs-lisp")
		  ("sh"   . "src shell")
		  ("awk"  . "src awk")
		  ("cal"  . "src calc") )) )





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-04 23:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-04 23:17 Org-babel templates michael-franzese

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).