help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Org-babel templates


From: michael-franzese
Subject: Org-babel templates
Date: Wed, 5 May 2021 01:17:33 +0200

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]