leetcode.el
leetcode.el copied to clipboard
Fixes for leetcode-quit and leetcode--kill-buff-and-delete-window
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)