zk-phi / sublimity

Smooth-scrolling and minimap like sublime editor
492 stars 27 forks source link

Fix recenter error when displaying buffer from emacsclient #50

Closed krig closed 4 years ago

krig commented 6 years ago

Encountered the following error when calling emacsclient on a file which is already open in a buffer which is not currently displayed:

*ERROR*: ‘recenter’ing a window that does not display current-buffer.

This commit solves the problem.

zk-phi commented 4 years ago

I'm so sorry for the very long absence. This actually solved the problem. Thank you for your contribution!

krig commented 4 years ago

Thanks for merging!