Просмотр исходного кода

Fix documentation for global tag list during capture

* lisp/org.el (org-complete-tags-always-offer-all-agenda-tags): Fix
docstring.
Sébastien Vauban 15 лет назад
Родитель
Сommit
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)