diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2018-02-11 12:06:42 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2018-02-11 12:06:42 +0100 |
commit | da78ccc6909a2fe079162e341ad4bfdba310b9b1 (patch) | |
tree | bb1c2882a12a019496fc1c5be73518ab916cc4cf | |
parent | 6791fd29d3133c93e55358af1f1cf44814f56688 (diff) | |
download | org-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.el | 5 |
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 |