diff options
author | Michael Kifer <kifer@cs.stonybrook.edu> | 2008-11-16 04:55:45 +0000 |
---|---|---|
committer | Michael Kifer <kifer@cs.stonybrook.edu> | 2008-11-16 04:55:45 +0000 |
commit | 42acc58182959fd891b5f4263d900c088de24c13 (patch) | |
tree | 8a8dccc528efba870afea719b5e73551be776d34 /lisp/ediff-wind.el | |
parent | 61c11870cc2f9e71e8c3608969b27afe323ce500 (diff) | |
download | emacs-42acc58182959fd891b5f4263d900c088de24c13.tar.gz emacs-42acc58182959fd891b5f4263d900c088de24c13.tar.bz2 emacs-42acc58182959fd891b5f4263d900c088de24c13.zip |
2008-11-16 Michael Kifer <kifer@cs.stonybrook.edu>
* viper-init.el (viper-ESC-keyseq-timeout): Make it into a function
instead of a variable.
* viper-util.el (viper-fast-keysequence-p): Changed to use
viper-ESC-keyseq-timeout as a function.
(viper-get-saved-cursor-color-in-replace-mode): Use defun instead of
defsubst.
* viper-cmd.el: Let line-move-visual to nil when using next-line or
previous-line.
(viper-R-state-post-command-sentinel): Use defun instead of defsubst.
* viper-keym.el (viper-ESC-key): Use (kbd "ESC").
* ediff-util.el (ediff-toggle-multiframe): Check if control window is
live.
(ediff-save-buffer): Let window-min-height to 2.
* ediff-wind.el (ediff-setup-windows-plain-compare): Avoid selecting
the minibuffer.
Diffstat (limited to 'lisp/ediff-wind.el')
-rw-r--r-- | lisp/ediff-wind.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/ediff-wind.el b/lisp/ediff-wind.el index 64018466508..e21817289ff 100644 --- a/lisp/ediff-wind.el +++ b/lisp/ediff-wind.el @@ -416,6 +416,10 @@ into icons, regardless of the window manager." ;; this lets us have local versions of ediff-split-window-function split-window-function ediff-split-window-function three-way-comparison ediff-3way-comparison-job)) + ;; if in minibuffer go somewhere else + (if (save-match-data + (string-match "\*Minibuf-" (buffer-name (window-buffer)))) + (select-window (next-window nil 'ignore-minibuf))) (delete-other-windows) (set-window-dedicated-p (selected-window) nil) (split-window-vertically) |