emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master f7001fb 33/68: ace-window.el (aw-background): new custom


From: Oleh Krehel
Subject: [elpa] master f7001fb 33/68: ace-window.el (aw-background): new custom
Date: Sat, 21 Mar 2015 19:06:58 +0000

branch: master
commit f7001fb948d5862c5f66c7d0b75323d3af91882c
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]