wakatime-mode icon indicating copy to clipboard operation
wakatime-mode copied to clipboard

string-replace is not a valid eMacs function in 27.2

Open may opened this issue 2 years ago • 1 comments

I don’t think it’s a valid function it any eMacs, but I can confirm it’s not in 27.2.

Line 122 from the MELPA version breaks, causing the user not to be prompted for path.

Consider using replace-string instead

may avatar Oct 19 '22 21:10 may

I just hit this snag too and I just replaced instances string-replace with replace-string before finding your issue above.

I guess this is a bug that should be fixed.

But since this package will need to handle some older Emacs versions too, it needs to conditionally test for the Emacs version number to apply this change...

dotemacs avatar Jan 02 '23 11:01 dotemacs