branch: master commit 8d40101ea9ac5077ad9b2a2add93051248343cf3 Author: Oleh Krehel <ohwoeo...@gmail.com> Commit: Oleh Krehel <ohwoeo...@gmail.com>
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