latex-preview-pane icon indicating copy to clipboard operation
latex-preview-pane copied to clipboard

fix lpp/window-containing-preview

Open Simon-Lin opened this issue 3 years ago • 0 comments

This is to fix a bug where the latex-preview-pane sometimes fail to find the correct window containing preview when there is more than 3 windows (across multiple frames). The cause of this bug is that the length of windows on line 67 is dynamical so the function misses the body of list. I have re-implemented the function using cl-find. Hopefully this makes the code more readable while maintaining the same functionality.

Simon-Lin avatar Jan 20 '22 19:01 Simon-Lin