leetcode.el icon indicating copy to clipboard operation
leetcode.el copied to clipboard

Fixes for leetcode-quit and leetcode--kill-buff-and-delete-window

Open appleby opened this issue 2 years ago • 0 comments

Ensure that leetcode-quit can be run multiple times in the same emacs session without killing random buffers unrelated to leetcode.

Steps to reproduce:

  • M-x leetcode
  • select some problem from the problem list a click on "Solve it" link
  • M-x leetcode-quit
  • [optional] M-x leetcode
  • [optional] select a different problem from the problem list a click on "Solve it" link
  • M-x leetcode-quit
  • observe some non-leetcode buffer is killed (possibly the *scratch* buffer if no other buffers were open)

appleby avatar Apr 15 '24 23:04 appleby