Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugger entered--Lisp error: (void-variable org-pomodoro-countdown) #111

Open
dinesh-58 opened this issue Nov 22, 2023 · 0 comments
Open

Comments

@dinesh-58
Copy link

dinesh-58 commented Nov 22, 2023

The following message is shown when starting a pomodoro:

Debugger entered--Lisp error: (void-variable org-pomodoro-countdown)
  org-pompid--format-message("Pomodoro ends at %s")
  #f(compiled-function () #<bytecode 0x28cc398974b9>)()
  run-hooks(org-pomodoro-started-hook)
  org-pomodoro-start(:pomodoro)
  org-pomodoro(nil)
  funcall-interactively(org-pomodoro nil)
  call-interactively(org-pomodoro nil nil)
  command-execute(org-pomodoro)

It occurs at line 125 of org-pomodoro-pidgin.el, shown below. Not too big of an issue since the pomodoro timer works as intended.

(defun org-pompid--format-message (message)
  "Replace the %s in MESSAGE with the time when pomodoro ends."
  (format
   message
   (format-time-string
    "%H:%M"
    (time-add (current-time) (seconds-to-time org-pomodoro-countdown)))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant