Closed kaushalmodi closed 7 years ago
My money is on line 394, division by zero.
(/ (* (- total-diff idle-diff) 100) total-diff)
A simple fix would be
(if (zerop total-diff) 0 (/ (* (- total-diff idle-diff) 100) total-diff))
Thanks, I'll try that!
Hi,
I am running the latest build of emacs from its git master branch.
I noticed that I started getting
arith-error
errors at random after I installedsymon
. Here is one case when I can consistently reproduce it.I use
paradox
for pacakge management. I get this error some time after I doM-x paradox-list-packages
. I have also seen this error show up when I update packages without using paradox.Here is the error trace: