summaryrefslogtreecommitdiff
path: root/local
diff options
context:
space:
mode:
Diffstat (limited to 'local')
-rw-r--r--local/bibli-paris/bibli-paris.el22
1 files changed, 22 insertions, 0 deletions
diff --git a/local/bibli-paris/bibli-paris.el b/local/bibli-paris/bibli-paris.el
index 55483b5..5232b44 100644
--- a/local/bibli-paris/bibli-paris.el
+++ b/local/bibli-paris/bibli-paris.el
@@ -458,6 +458,28 @@ STATE (string)."
(bibli-paris/change-entry 'outline-get-next-sibling))
+;; change the state of an entry
+
+(defun bibli-paris/set-to-todo ()
+ "Switch the entry at point to the TODO state."
+ (interactive)
+ (org-todo "TODO"))
+
+(defun bibli-paris/set-to-next ()
+ "Switch the entry at point to the NEXT state."
+ (interactive)
+ (org-todo "NEXT"))
+
+(defun bibli-paris/set-to-booked ()
+ "Switch the entry at point to the BOOKED state."
+ (interactive)
+ (org-todo "BOOKED"))
+
+(defun bibli-paris/set-to-done ()
+ "Switch the entry at point to the DONE state."
+ (interactive)
+ (org-todo "DONE"))
+
;; minor mode
;;;###autoload