Skip to content

Commit

Permalink
Change: (magit-todos-keywords) Improve documentation
Browse files Browse the repository at this point in the history
See <#101>.
  • Loading branch information
alphapapa committed Mar 7, 2023
1 parent 9a8e1f5 commit 34b2a3d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion magit-todos.el
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,9 @@ which the keys are the keywords.
When set, sets `magit-todos-search-regexp' to the appropriate
regular expression."
:type '(choice (repeat :tag "Custom list" string)
(const :tag "Keywords from `hl-todo'" hl-todo-keyword-faces)
(const :tag "Keywords from `hl-todo'"
:doc "Note that the keywords in `hl-todo-keyword-faces' are treated by it as regexps, while this package treats them as strings. If this doesn't meet your needs, please use another option. See <https://github.com/alphapapa/magit-todos/issues/101>."
hl-todo-keyword-faces)
(variable :tag "List variable"))
:set (lambda (option value)
(set-default option value)
Expand Down

0 comments on commit 34b2a3d

Please sign in to comment.