C-C C-x ; can start count down timer. But I want to start the timer whenever I open any org file. I want to set it default for 10 minute. Kindly help
1 Answer
Have you tried adding the function to org-mode-hook
?
If you haven't tried it yet, what I would recommend is to create a
function my-org-mode-hook-function
which evaluates
(org-timer-set-timer 10)
. Then add to your .emacs
file the expression
(add-hook 'org-mode-hook 'my-org-mode-hook-function)
.
-
-
You don't create any hook.
org-mode-hook
is a pre-existing emacs variable, meant to contain a list of functions to be evaluated when startingorg-mode
. Jan 16, 2018 at 10:16 -
Can you teach me how you create a function my-org-mode-hook-function which evaluates (org-timer-set-timer 10. Kinldy oblige– VaibhavJan 16, 2018 at 10:56
-
1
-