From da78ccc6909a2fe079162e341ad4bfdba310b9b1 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 11 Feb 2018 12:06:42 +0100 Subject: [PATCH] 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. --- lisp/org-tempo.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lisp/org-tempo.el b/lisp/org-tempo.el index 4303ec113..9b8f8fad1 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 -- 2.11.4.GIT