From 414503d59b2129c24e95e1e57b54d5662a17308b Mon Sep 17 00:00:00 2001 From: Aaron Ecay Date: Wed, 2 May 2018 17:48:18 +0100 Subject: [PATCH 2/2] Add compatibility code to org-tempo This will warn users of +Alternatively, you may wish to use the new template expansion +facility `org-insert-structure-template', which is bound to +\\[org-insert-structure-template] in org-mode buffers."))))) + + + (provide 'org-tempo) ;;; org-tempo.el ends here diff --git a/lisp/org.el b/lisp/org.el index 0b8e62357..c67c8d2c5 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -23582,6 +23582,12 @@ when non-nil, is a regexp matching keywords names." (lambda () (add-hook 'change-major-mode-hook 'org-show-all 'append 'local))) +;; For compatibility; remove in Org 10 +(require 'org-tempo) +(defvar org-tempo--user-activated) +(let (org-tempo--user-activated) + (org-tempo-global-mode 1)) + (provide 'org) (run-hooks 'org-load-hook) -- 2.17.0