forked from mirrors/org-mode
Do not load Org Tempo by default
* lisp/org.el (org-modules): Do not load Org Tempo by default. Org Tempo is a backward compatible substitute for the new expansion mechanism. It is only available for either die-hard "<s" users or power users that need advanced templates.
This commit is contained in:
parent
181b13cc57
commit
4c13d0a1a8
14
etc/ORG-NEWS
14
etc/ORG-NEWS
|
@ -25,16 +25,20 @@ to use orgalist.el, which you can install from GNU ELPA.
|
||||||
*** Change in the structure template expansion
|
*** Change in the structure template expansion
|
||||||
|
|
||||||
Org 9.2 comes with a new template expansion mechanism, combining
|
Org 9.2 comes with a new template expansion mechanism, combining
|
||||||
~org-insert-structure-template~ and org-tempo.el, which is loaded by
|
~org-insert-structure-template~ bound to ~C-c C-'~.
|
||||||
default.
|
|
||||||
|
|
||||||
If you customized the ~org-structure-template-alist~ option manually,
|
If you customized the ~org-structure-template-alist~ option manually,
|
||||||
you probably need to udpate it, see the docstring for accepted values.
|
you probably need to udpate it, see the docstring for accepted values.
|
||||||
|
|
||||||
If you need complex templates, look at the ~tempo-define-template~
|
If you prefer using previous patterns, e.g. =<s=, you can activate
|
||||||
function or at solutions like yasnippet.
|
them again by requiring Org Tempo library:
|
||||||
|
|
||||||
If you don't need org-tempo.el, remove it from ~org-modules~.
|
: (require 'org-tempo)
|
||||||
|
|
||||||
|
or add it to ~org-modules~.
|
||||||
|
|
||||||
|
If you need complex templates, look at the ~tempo-define-template~
|
||||||
|
function or at solutions like Yasnippet.
|
||||||
|
|
||||||
*** Change to Noweb expansion
|
*** Change to Noweb expansion
|
||||||
|
|
||||||
|
|
|
@ -682,7 +682,7 @@ After a match, group 1 contains the repeat expression.")
|
||||||
(org-load-modules-maybe 'force)
|
(org-load-modules-maybe 'force)
|
||||||
(org-element-cache-reset 'all)))
|
(org-element-cache-reset 'all)))
|
||||||
|
|
||||||
(defcustom org-modules '(org-w3m org-bbdb org-bibtex org-docview org-gnus org-info org-irc org-mhe org-rmail org-tempo org-eww)
|
(defcustom org-modules '(org-w3m org-bbdb org-bibtex org-docview org-gnus org-info org-irc org-mhe org-rmail org-eww)
|
||||||
"Modules that should always be loaded together with org.el.
|
"Modules that should always be loaded together with org.el.
|
||||||
|
|
||||||
If a description starts with <C>, the file is not part of Emacs
|
If a description starts with <C>, the file is not part of Emacs
|
||||||
|
|
Loading…
Reference in New Issue