Commits

Anonymous committed f746d6f

lisputils: calling bury-buffer to bury created buffer

The problem is fit-window-to-buffer pushes a buffer forward in the
buffer list; calling bury-buffer afterwards fixes it.

Comments (0)

Files changed (1)

ropemacs/lisputils.py

             lisp.set_window_point(new_window, lisp.point_min())
             if fit_lines and lisp.fboundp(lisp['fit-window-to-buffer']):
                 lisp.fit_window_to_buffer(new_window, fit_lines)
+                lisp.bury_buffer(new_buffer)
     return new_buffer