From e868c73465e7cc7ff706510d35379d30e14b5515 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sat, 5 Oct 2024 15:36:19 +0100 Subject: Fix org-clock configuration --- Emacs/.config/emacs/config.org | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'Emacs/.config/emacs/config.org') diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index dbfddbb..5778198 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -3166,16 +3166,6 @@ system to see how much time you spend on specific tasks or overall. #+begin_src emacs-lisp (use-package org-clock :after org - :init - (defvar +org/clock-out-toggle-report nil - "Non-nil means update the first clock report in the file every -time a clock out occurs.") - :config - (advice-add #'org-clock-out - :after - (proc (interactive) - (if +org/clock-out-toggle-report - (org-clock-report t)))) :general (local-leader :keymaps 'org-mode-map @@ -3183,10 +3173,7 @@ time a clock out occurs.") "d" #'org-clock-display "c" #'org-clock-in "o" #'org-clock-out - "r" #'org-clock-report - "t" (proc (interactive) - (setq-local +org/clock-out-toggle-report - (not +org/clock-out-toggle-report))))) + "r" #'org-clock-report)) #+end_src ** WAIT Org ref :PROPERTIES: -- cgit v1.2.3-13-gbd6f