]> code.delx.au - gnu-emacs-elpa/commit
Allow to switch to all empty buffers (read-only as well)
authorOleh Krehel <ohwoeowho@gmail.com>
Wed, 20 May 2015 11:18:45 +0000 (13:18 +0200)
committerOleh Krehel <ohwoeowho@gmail.com>
Wed, 20 May 2015 11:18:45 +0000 (13:18 +0200)
commit243ee467fce4017598deed3f72cad5e128fd762b
tree254bb55387ba893dc849539b745fa77a09f5dbe3
parentdd84ff605497bdfdf85ad79290e046f2e783e209
Allow to switch to all empty buffers (read-only as well)

* ace-window.el (aw-window-list): Stop filtering out empty read-only
  buffers.
(aw-empty-buffers-list): New defvar, store empty buffers here.
(aw--done): Return empty buffers to their empty state (they had a single
space inserted in order for overlay to work).
(aw--lead-overlay): Insert a space into an empty buffer.
(aw-select): Move inserting a space into `aw--lead-overlay'.
ace-window.el