all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.