You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I have implemented caching for the google-translate package using pcache. One problem I encountered is, 'equal was needed to use strings as keys, so I changed the pcache-repository class to accept :test and pass it to make-hash-table. It would be nice to see the changes in master.
Hi! I have implemented caching for the
google-translate
package usingpcache
. One problem I encountered is,'equal
was needed to use strings as keys, so I changed thepcache-repository
class to accept:test
and pass it tomake-hash-table
. It would be nice to see the changes in master.But before that, there is a bug of a sort:
Create a repo:
After restarting emacs, loading the repo works as expected:
--> 1337
however the format in which the repo is saved has aquired the test variable:
Running eval-defun on it results in
eval: Symbol’s value as variable is void: equal
Changing
:test equal
to:test 'equal
fixes the problem however.(Once again, all this happens when using
eval-defun
directly,pcache
reloads the cache just fine.)Do you think this might be a serious bug? Or maybe there is a way to save
:test equal
as:test 'equal
?The text was updated successfully, but these errors were encountered: