branch: master
commit f7001fb948d5862c5f66c7d0b75323d3af91882c
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>
ace-window.el (aw-background): new custom
* ace-window.el (aw--doit): Use `aw-background'.
Re #16
---
ace-window.el | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/ace-window.el b/ace-window.el
index 4c15fe5..864bb1b 100644
--- a/ace-window.el
+++ b/ace-window.el
@@ -83,6 +83,10 @@
Use M-0 `ace-window' to toggle this value."
:group 'ace-window)
+(defcustom aw-background t
+ "When t, `ace-window' will dim out all buffers temporarily when used.'."
+ :group 'ace-window)
+
(defun aw-ignored-p (window)
"Return t if WINDOW should be ignored."
(and aw-ignore-on
@@ -192,7 +196,7 @@ Set mode line to MODE-LINE during the selection process."
:visual-area va))
visual-area-list)))
;; create background for each visual area
- (if ace-jump-mode-gray-background
+ (if aw-background
(setq ace-jump-background-overlay-list
(loop for va in visual-area-list
collect (let* ((w (aj-visual-area-window va))