summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2018-02-11 12:06:42 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2018-02-11 12:06:42 +0100
commitda78ccc6909a2fe079162e341ad4bfdba310b9b1 (patch)
treebb1c2882a12a019496fc1c5be73518ab916cc4cf
parent6791fd29d3133c93e55358af1f1cf44814f56688 (diff)
downloadorg-mode-da78ccc6909a2fe079162e341ad4bfdba310b9b1.tar.gz
org-tempo: Do not activate Org Tempo in export output buffers and agenda
* lisp/org-tempo.el (b): Do not activate Org Tempo in export output buffers and agenda.
-rw-r--r--lisp/org-tempo.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/org-tempo.el b/lisp/org-tempo.el
index 4303ec1..9b8f8fa 100644
--- a/lisp/org-tempo.el
+++ b/lisp/org-tempo.el
@@ -160,11 +160,10 @@ didn't succeed."
;; `org-structure-template-alist' must be loaded.
(add-hook 'org-mode-hook 'org-tempo-setup)
-(add-hook 'org-tab-before-tab-emulation-hook
- 'org-tempo-complete-tag)
+(add-hook 'org-tab-before-tab-emulation-hook 'org-tempo-complete-tag)
;; Enable Org Tempo in all open Org buffers.
-(dolist (b (org-buffer-list))
+(dolist (b (org-buffer-list 'files))
(with-current-buffer b (org-tempo-setup)))
(eval-after-load 'org