[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master b114cf8 03/20: ace-window.el (aw-ignore-current): New defc
From: |
Oleh Krehel |
Subject: |
[elpa] master b114cf8 03/20: ace-window.el (aw-ignore-current): New defcustom |
Date: |
Sat, 09 May 2015 11:57:48 +0000 |
branch: master
commit b114cf8a93224c85c51e95db52bf359131130476
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>
ace-window.el (aw-ignore-current): New defcustom
* ace-window.el (aw-ignored-p): Use `aw-ignore-current'.
Fixes #43
---
ace-window.el | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/ace-window.el b/ace-window.el
index f34a77a..791b34d 100644
--- a/ace-window.el
+++ b/ace-window.el
@@ -87,6 +87,10 @@
Use M-0 `ace-window' to toggle this value."
:type 'boolean)
+(defcustom aw-ignore-current nil
+ "When t, `ace-window' will ignore `selected-window'."
+ :type 'boolean)
+
(defcustom aw-background t
"When t, `ace-window' will dim out all buffers temporarily when used.'."
:type 'boolean)
@@ -115,9 +119,11 @@ Use M-0 `ace-window' to toggle this value."
;;* Implementation
(defun aw-ignored-p (window)
"Return t if WINDOW should be ignored."
- (and aw-ignore-on
- (member (buffer-name (window-buffer window))
- aw-ignored-buffers)))
+ (or (and aw-ignore-on
+ (member (buffer-name (window-buffer window))
+ aw-ignored-buffers))
+ (and aw-ignore-current
+ (equal window (selected-window)))))
(defun aw-window-list ()
"Return the list of interesting windows."
- [elpa] master updated (e3dbd7a -> e1f9513), Oleh Krehel, 2015/05/09
- [elpa] master e49f6d0 01/20: avy-jump.el (avy--regex-candidates): Update arglist, Oleh Krehel, 2015/05/09
- [elpa] master bca96ae 02/20: Add avy-goto-char-timer, Oleh Krehel, 2015/05/09
- [elpa] master b114cf8 03/20: ace-window.el (aw-ignore-current): New defcustom,
Oleh Krehel <=
- [elpa] master e931071 04/20: When selecting from many windows, prioritize the current, Oleh Krehel, 2015/05/09
- [elpa] master 6acbeb6 05/20: Use `avy-keys' for `avy-goto-subword-1', Oleh Krehel, 2015/05/09
- [elpa] master 35e1309 06/20: Add customization type to `avy-keys', Oleh Krehel, 2015/05/09
- [elpa] master c32b91f 07/20: Add more customization types, Oleh Krehel, 2015/05/09
- [elpa] master 6ff26f5 08/20: Use cl-lib instead of cl-macs, Oleh Krehel, 2015/05/09
- [elpa] master cc822c1 12/20: Fix eval-after-load isearch, Oleh Krehel, 2015/05/09
- [elpa] master a558585 09/20: Move the package metadata to avy.el, Oleh Krehel, 2015/05/09
- [elpa] master 0634762 11/20: Add a dependency to cl-lib for Emacs < 24.3, Oleh Krehel, 2015/05/09
- [elpa] master 0e049bb 10/20: Always default to avy-keys but allow for per-command overrides, Oleh Krehel, 2015/05/09
- [elpa] master 4007986 14/20: Fix avy-background for multiple windows, Oleh Krehel, 2015/05/09