Fix ttm-org-clear-all
This commit is contained in:
1 parent
e15ed10c16
commit
f2410093af
1 file changed
+2
-1
+2
-1
@@ -82,10 +82,11 @@
|
||||
;; Clear all todo statuses in org-mode. For Grocery list.
|
||||
(defun ttm-org-clear-all ()
|
||||
(interactive)
|
||||
(goto-char 0)
|
||||
(org-map-entries
|
||||
(lambda ()
|
||||
(org-todo "")))
|
||||
(flush-lines "CLOSED:")
|
||||
(flush-lines "CLOSED")
|
||||
(message "Entries cleared."))
|
||||
|
||||
(map! :mode org-mode :localleader "C" :desc "Clear all todos" #'ttm-org-clear-all)
|
||||
|
||||
Reference in new issue
Block a user