branch: externals/gnorb
commit 4da19b0da38897f8cd45d79046ce8208281a52b5
Author: Eric Abrahamsen <[email protected]>
Commit: Eric Abrahamsen <[email protected]>
Get rid of gnorb-org-mail-todos
* lisp/gnorb-org.el (gnorb-org-mail-todos): Remove option
It wasn't being used, and it belonged to the earlier implementation of
email tracking. If trigger action limited is going to be done, it should
be done a different way.
---
lisp/gnorb-org.el | 16 +---------------
1 file changed, 1 insertion(+), 15 deletions(-)
diff --git a/lisp/gnorb-org.el b/lisp/gnorb-org.el
index ea16c28..bc46eda 100644
--- a/lisp/gnorb-org.el
+++ b/lisp/gnorb-org.el
@@ -31,15 +31,6 @@
:tag "Gnorb Org"
:group 'gnorb)
-(defcustom gnorb-org-mail-todos nil
- "TODO keywords that are considered mail related -- functions in
-this library may, after completion, call org-(agenda-)todo on
-relevant headings with these keywords. Set to nil to call
-org-todo regardless of TODO type."
- ;; allowable values should also include 'todo and 'not-done
- :group 'gnorb-org
- :type 'list)
-
(defcustom gnorb-org-after-message-setup-hook nil
"Hook run in a message buffer after setting up the message from
`gnorb-org-handle-mail' or `gnorb-org-email-subtree'."
@@ -119,12 +110,7 @@ scan. Set to 0 to only look in the heading.")
message, this option will limit which headings will be offered as
target candidates. Specifically it will be used as the second
argument to `org-map-entries', and syntax is the same as that
-used in an agenda tags view.
-
-For instance, to limit candidates to headings with TODOs in
-`gnorb-org-mail-todos', you might use this:
-
-(mapconcat (lambda (s) (format \"+TODO=\\\"%s\\\"\" s)) gnorb-org-mail-todos
\"|\")"
+used in an agenda tags view."
:group 'gnorb-org
:type 'symbol)