unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / 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

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