cute-jumper / gscholar-bibtex

Retrieve BibTeX entries from Google Scholar, ACM Digital Library, IEEE Xplore and DBLP
108 stars 12 forks source link

Use window quit-restore for gscholar and entry window #30

Closed leezu closed 5 years ago

leezu commented 5 years ago

quit-restore-window handles killing or keeping the window used by gscholar-buffer and entry-buffer based on the history of buffers previously displayed in the window. Ie. the window is killed if it was opened just for gscholar, but preserved if it existed already. As split-window-below used for opening the entry-window messes with the buffer history used by quit-restore-window, it is manually adapted as discussed in https://lists.gnu.org/archive/html/help-gnu-emacs/2017-03/msg00006.html

leezu commented 5 years ago

@cute-jumper this fixes issues with #29, please consider merging