ace-window.el (ace-window): make buffers at least size 1

old-master
Oleh Krehel 12 years ago
parent 7a65bfa455
commit 0a612b1ecb
  1. 6
      ace-window.el

@ -38,7 +38,7 @@
;; To setup this package, just add to your ~.emacs:
;;
;; (global-set-key (kbd "M-p") 'ace-window)
;;
;;
;; replacing "M-p" with an appropriate shortcut.
;;
;; Depending on your window usage patterns, you might want to set
@ -74,6 +74,10 @@
(t
(let ((candidate-list
(mapcar (lambda (va)
(let ((b (aj-visual-area-buffer va)))
(when (= 0 (buffer-size b))
(with-current-buffer b
(insert " "))))
(make-aj-position
:offset (window-start (aj-visual-area-window va))
:visual-area va))

Loading…
Cancel
Save