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

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

[elpa] master 8d40101 39/68: ace-window.el (ace-window-end-hook): add


From: Oleh Krehel
Subject: [elpa] master 8d40101 39/68: ace-window.el (ace-window-end-hook): add
Date: Sat, 21 Mar 2015 19:07:01 +0000

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

    ace-window.el (ace-window-end-hook): add
---
 ace-window.el |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/ace-window.el b/ace-window.el
index dda20af..8af8924 100644
--- a/ace-window.el
+++ b/ace-window.el
@@ -89,6 +89,9 @@ Use M-0 `ace-window' to toggle this value."
   :type 'boolean
   :group 'ace-window)
 
+(defvar ace-window-end-hook nil
+  "Function(s) to call after `ace-window' is done.")
+
 (defun aw-ignored-p (window)
   "Return t if WINDOW should be ignored."
   (and aw-ignore-on
@@ -134,6 +137,7 @@ Use M-0 `ace-window' to toggle this value."
              (ace-jump-push-mark)
              (run-hooks 'ace-jump-mode-before-jump-hook)
              (funcall aw--current-op aj-data))
+           (run-hooks 'ace-window-end-hook)
            (run-hooks 'ace-jump-mode-end-hook))
 
           (t



reply via email to

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