all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* org-tempo and org-structure-template-alist
@ 2021-01-21 14:00 wael-zwaiter
  2021-01-25 19:04 ` Nick Dokos
  0 siblings, 1 reply; 2+ messages in thread
From: wael-zwaiter @ 2021-01-21 14:00 UTC (permalink / raw)
  To: Help Gnu Emacs

Do I require org-tempo to use org-structure-template-alist?


----- code ------
(require 'org-tempo)
(add-to-list 'org-structure-template-alist '("sh" . "src shell"))




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: org-tempo and org-structure-template-alist
  2021-01-21 14:00 org-tempo and org-structure-template-alist wael-zwaiter
@ 2021-01-25 19:04 ` Nick Dokos
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Dokos @ 2021-01-25 19:04 UTC (permalink / raw)
  To: help-gnu-emacs

wael-zwaiter@gmx.com writes:

> Do I require org-tempo to use org-structure-template-alist?
>
>
> ----- code ------
> (require 'org-tempo)
> (add-to-list 'org-structure-template-alist '("sh" . "src shell"))
>
>
>

No: if loaded, org-tempo will use org-structure-template-alist, but
the main user of it is `org-insert-structure-template` (bound to C-c
C-, by default).

-- 
Nick

"There are only two hard problems in computer science: cache
invalidation, naming things, and off-by-one errors." -Martin Fowler




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-25 19:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-21 14:00 org-tempo and org-structure-template-alist wael-zwaiter
2021-01-25 19:04 ` Nick Dokos

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.