1. carlos wong
  2. ropemacs


Ali Gholami Rudi  committed 990ca59

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.

  • Participants
  • Parent commits ec75198
  • Branches trunk

Comments (0)

Files changed (1)

File ropemacs/lisputils.py

View file
  • Ignore whitespace
             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