Instead of running the Python routine against the buffer's filename, org-similarity will first dump the buffer's content into a temporary file and then run the Python routine against it. With this change, it will be possible to run the algorithm without saving the buffer first. It also makes it easier to implement query searches.
This change will break other functions that may depend on org-similarity--run-command, since now it takes a filename argument.
Instead of running the Python routine against the buffer's filename, org-similarity will first dump the buffer's content into a temporary file and then run the Python routine against it. With this change, it will be possible to run the algorithm without saving the buffer first. It also makes it easier to implement query searches.
This change will break other functions that may depend on
org-similarity--run-command
, since now it takes afilename
argument.