diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-10-05 15:36:19 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-10-05 15:36:19 +0100 |
commit | e868c73465e7cc7ff706510d35379d30e14b5515 (patch) | |
tree | f2941509eaed448dac0ec953591cddd696da76bc /Emacs/.config | |
parent | fe81c4c95ebb0746dbdd29edff93f1e949045d59 (diff) | |
download | dotfiles-e868c73465e7cc7ff706510d35379d30e14b5515.tar.gz dotfiles-e868c73465e7cc7ff706510d35379d30e14b5515.tar.bz2 dotfiles-e868c73465e7cc7ff706510d35379d30e14b5515.zip |
Fix org-clock configuration
Diffstat (limited to 'Emacs/.config')
-rw-r--r-- | Emacs/.config/emacs/config.org | 15 |
1 files changed, 1 insertions, 14 deletions
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: |