seagle0128 / grip-mode

Instant Github-flavored Markdown/Org preview using grip
GNU General Public License v3.0
269 stars 6 forks source link

Wrong buffer being rendered #3

Closed mrcnski closed 5 years ago

mrcnski commented 5 years ago

If I have multiple windows open, M-x grip-mode seems to detect the first one I had open instead of the one currently in focus. Note that I use eyebrowse. Am willing to help debug this if needed.

Also, a weird thing happened. I had my init.el open in a non-focused window. I called grip-mode on a Markdown file in the focused window. It tried to render my init.el, and when I killed the buffer for init.el, the file was removed from disk as well. I've never something like this happen before so I'm assuming it's due to this package.

seagle0128 commented 5 years ago

Please test the latest version. Thanks!