瀏覽代碼

Disable compatibility mode in "bookmark-completing-read"

Ryan C. Thompson 13 年之前
父節點
當前提交
e8d0929c40
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7 0
      ido-ubiquitous.el

+ 7 - 0
ido-ubiquitous.el

@@ -226,4 +226,11 @@ This has no effect when ido is completing buffers or files."
       (ido-select-text)
     ad-do-it))
 
+(defadvice bookmark-completing-read (around disable-ido-compatibility activate)
+  "`bookmark-completing-read' uses `completing-read' in an odd
+  way the conflicts with the compatibilty mode of
+  ido-ubiquitous."
+  (let (ido-ubiquitous-enable-compatibility)
+    ad-do-it))
+
 (provide 'ido-ubiquitous) ;;; ido-ubiquitous.el ends here