Fix customization types in org-drill.el

* contrib/lisp/org-drill.el (org-drill-leech-method):
(org-drill-scope):
(org-drill-spaced-repetition-algorithm): Fix customization types.
This commit is contained in:
Carsten Dominik 2013-12-03 18:03:49 +01:00
parent c92606b326
commit 0b3657e8d3
1 changed files with 10 additions and 6 deletions

View File

@ -104,7 +104,7 @@ Possible values:
but a warning message is printed when each leech item is but a warning message is printed when each leech item is
presented." presented."
:group 'org-drill :group 'org-drill
:type '(choice (const 'warn) (const 'skip) (const nil))) :type '(choice (const warn) (const skip) (const nil)))
(defface org-drill-visible-cloze-face (defface org-drill-visible-cloze-face
'((t (:foreground "darkseagreen"))) '((t (:foreground "darkseagreen")))
@ -256,10 +256,14 @@ directory All files with the extension '.org' in the same
;; 'file-no-restriction' means current file/buffer, ignoring restrictions ;; 'file-no-restriction' means current file/buffer, ignoring restrictions
;; 'directory' means all *.org files in current directory ;; 'directory' means all *.org files in current directory
:group 'org-drill :group 'org-drill
:type '(choice (const 'file) (const 'tree) (const 'file-no-restriction) :type '(choice (const :tag "The current buffer, respecting the restriction if any." file)
(const 'file-with-archives) (const 'agenda) (const :tag "The subtree started with the entry at point" tree)
(const 'agenda-with-archives) (const 'directory) (const :tag "The current buffer, without restriction" file-no-restriction)
list)) (const :tag "The current buffer, and any archives associated with it." file-with-archives)
(const :tag "All agenda files" agenda)
(const :tag "All agenda files with any archive files associated with them." agenda-with-archives)
(const :tag "All files with the extension '.org' in the same directory as the current file (includes the current file if it is an .org file.)" directory)
(repeat :tag "List of files to scan for drill items." file)))
(defcustom org-drill-save-buffers-after-drill-sessions-p t (defcustom org-drill-save-buffers-after-drill-sessions-p t
"If non-nil, prompt to save all modified buffers after a drill session "If non-nil, prompt to save all modified buffers after a drill session
@ -280,7 +284,7 @@ Available choices are:
adjusting intervals when items are reviewed early or late has been taken adjusting intervals when items are reviewed early or late has been taken
from SM11, a later version of the algorithm, and included in Simple8." from SM11, a later version of the algorithm, and included in Simple8."
:group 'org-drill :group 'org-drill
:type '(choice (const 'sm2) (const 'sm5) (const 'simple8))) :type '(choice (const sm2) (const sm5) (const simple8)))
(defcustom org-drill-optimal-factor-matrix nil (defcustom org-drill-optimal-factor-matrix nil
"DO NOT CHANGE THE VALUE OF THIS VARIABLE. "DO NOT CHANGE THE VALUE OF THIS VARIABLE.