From 6d33af4a5c920f1e3d1584bfb612e6800df52129 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Vauban?= Date: Wed, 24 Nov 2010 13:38:26 +0000 Subject: [PATCH] Fix documentation for global tag list during capture * lisp/org.el (org-complete-tags-always-offer-all-agenda-tags): Fix docstring. --- lisp/org.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index 8a792b427..873b2943a 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -2732,10 +2732,10 @@ To disable these tags on a per-file basis, insert anywhere in the file: (defcustom org-complete-tags-always-offer-all-agenda-tags nil "If non-nil, always offer completion for all tags of all agenda files. Instead of customizing this variable directly, you might want to -set it locally for remember buffers, because there no list of +set it locally for capture buffers, because there no list of tags in that file can be created dynamically (there are none). - (add-hook 'org-remember-mode-hook + (add-hook 'org-capture-mode-hook (lambda () (set (make-local-variable 'org-complete-tags-always-offer-all-agenda-tags)