]> code.delx.au - gnu-emacs-elpa/commit
* other-frame-window.el: Disable more carefully; add transient map
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 14 Aug 2015 16:44:58 +0000 (12:44 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 14 Aug 2015 16:44:58 +0000 (12:44 -0400)
commit2c1b58ac309eab66ce190159641308fb2e2efac3
treea980ed05ba2ea440387b26ac4293da0ec8e7e83e
parent993e7797919b3ba43f9b0fe80b8530c4b23b8175
* other-frame-window.el: Disable more carefully; add transient map

Only require 24.4.
(ofw--just-set, ofw-transient-map): New vars.
(ofw--set-prefix): Use them.  Rename from ofw-add-to-overriding.
Update callers.  Let the C-u prefix pass through.
(ofw-delete-from-overriding): Prefer nil to (nil . nil) in
display-buffer-overriding-action.
(ofw-switch-to-buffer-advice): Better preserve the default behavior.
(ofw--suspend-and-restore): Rename from ofw-temp-window-advice.
Take advantage of dynamic scoping.
(other-frame-window-mode-map): Rename from ofw-map.
(ofw--reset-prefix): New function.
(other-frame-window-mode): Use it to disable the prefix after the
next command.  Advise read-from-minibuffer rather than
temp-buffer-window-show.
(ofw-dwim--frame-p): New function.
(ofw-dwim-delete-this, ofw-dwim-one, ofw-dwim-open-other)
(ofw-dwim-select-other): New commands.
packages/other-frame-window/other-frame-window.el