mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2025-01-29 20:35:02 +00:00
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
|
||||
|
||||
Org 9.2 comes with a new template expansion mechanism, combining
|
||||
~org-insert-structure-template~ and org-tempo.el, which is loaded by
|
||||
default.
|
||||
~org-insert-structure-template~ bound to ~C-c C-'~.
|
||||
|
||||
If you customized the ~org-structure-template-alist~ option manually,
|
||||
you probably need to udpate it, see the docstring for accepted values.
|
||||
|
||||
If you need complex templates, look at the ~tempo-define-template~
|
||||
function or at solutions like yasnippet.
|
||||
If you prefer using previous patterns, e.g. =<s=, you can activate
|
||||
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
|
||||
|
||||
|
@ -682,7 +682,7 @@ After a match, group 1 contains the repeat expression.")
|
||||
(org-load-modules-maybe 'force)
|
||||
(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.
|
||||
|
||||
If a description starts with <C>, the file is not part of Emacs
|
||||
|
Loading…
Reference in New Issue
Block a user