浏览代码

Fix documentation for global tag list during capture

* lisp/org.el (org-complete-tags-always-offer-all-agenda-tags): Fix
docstring.
Sébastien Vauban 14 年之前
父节点
当前提交
6d33af4a5c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lisp/org.el

+ 2 - 2
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
 (defcustom org-complete-tags-always-offer-all-agenda-tags nil
   "If non-nil, always offer completion for all tags of all agenda files.
   "If non-nil, always offer completion for all tags of all agenda files.
 Instead of customizing this variable directly, you might want to
 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).
 tags in that file can be created dynamically (there are none).
 
 
-  (add-hook 'org-remember-mode-hook
+  (add-hook 'org-capture-mode-hook
             (lambda ()
             (lambda ()
               (set (make-local-variable
               (set (make-local-variable
                     'org-complete-tags-always-offer-all-agenda-tags)
                     'org-complete-tags-always-offer-all-agenda-tags)