* ido.el (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
authorChong Yidong <cyd@stupidchicken.com>
Thu, 29 Apr 2010 15:41:23 +0000 (11:41 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Thu, 29 Apr 2010 15:41:23 +0000 (11:41 -0400)
etc/NEWS
lisp/ChangeLog
lisp/ido.el

index 1f59ff2..e428868 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -114,6 +114,9 @@ define it as a scroll command affected by `scroll-preserve-screen-position.
 
 ** Archive Mode has basic support to browse 7z archives.
 
+** In ido-mode, C-v is no longer bound to ido-toggle-vc.
+The reason is that this interferes with cua-mode.
+
 ** partial-completion-mode is now obsolete.
 You can get the same behavior with
 (setq completion-styles '(partial-completion initials)).
index 1e0f4cb..03a2376 100644 (file)
@@ -1,6 +1,7 @@
 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
 
-       * ido.el (ido-init-completion-maps): Remove C-v binding (Bug#5765).
+       * ido.el (ido-init-completion-maps): Remove C-v binding.
+       (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
 
 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
 
index 625baa8..f75f029 100644 (file)
 
 ;;; Code:
 
-(defvar cua-inhibit-cua-keys)
 (defvar recentf-list)
 
 ;;; User Variables
@@ -4608,7 +4607,6 @@ For details of keybindings, see `ido-find-file'."
   (when (ido-active)
     (add-hook 'pre-command-hook 'ido-tidy nil t)
     (add-hook 'post-command-hook 'ido-exhibit nil t)
-    (setq cua-inhibit-cua-keys t)
     (when (featurep 'xemacs)
       (ido-exhibit)
       (goto-char (point-min)))