pauldub / activity-watch-mode

Emacs plugin for automatic time tracking and metrics generated from your programming activity.
https://activitywatch.net
70 stars 9 forks source link

Symbol’s function definition is void: project-name #26

Closed mathrick closed 7 months ago

mathrick commented 7 months ago

This function has only been added in Emacs 29.1, but the project resolver calls it uncoditionally, which makes it incompatible with earlier versions:

Debugger entered--Lisp error: (void-function project-name)
  project-name((vc . "~/"))
  activity-watch-project-name-project()
  activity-watch--get-project()
  activity-watch--create-heartbeat((26071 39548 447 132000))
  activity-watch--call()
  activity-watch--save()
  apply(activity-watch--save nil)
  timer-event-handler([t 26071 39550 0 2 activity-watch--save nil nil 0])