Permalink
Browse files

Move ido-setup to setup-ido.el

  • Loading branch information...
1 parent 7eeddbf commit 8c1ff9f38b4c1a59b52aefc11c6bcc19a60cae4a @magnars committed Oct 8, 2012
Showing with 10 additions and 10 deletions.
  1. +0 −10 my-misc.el
  2. +10 −0 setup-ido.el
View
@@ -27,15 +27,5 @@
;; A bit of misc cargo culting in misc.el
(setq xterm-mouse-mode t)
-;; Fix ido-ubiquitous for newer packages
-(defmacro ido-ubiquitous-use-new-completing-read (cmd package)
- `(eval-after-load ,package
- '(defadvice ,cmd (around ido-ubiquitous-new activate)
- (let ((ido-ubiquitous-enable-compatibility nil))
- ad-do-it))))
-
-(ido-ubiquitous-use-new-completing-read webjump 'webjump)
-(ido-ubiquitous-use-new-completing-read yas/expand 'yasnippet)
-
(provide 'my-misc)
View
@@ -27,4 +27,14 @@
(require 'ido-ubiquitous)
(ido-ubiquitous-mode 1)
+;; Fix ido-ubiquitous for newer packages
+(defmacro ido-ubiquitous-use-new-completing-read (cmd package)
+ `(eval-after-load ,package
+ '(defadvice ,cmd (around ido-ubiquitous-new activate)
+ (let ((ido-ubiquitous-enable-compatibility nil))
+ ad-do-it))))
+
+(ido-ubiquitous-use-new-completing-read webjump 'webjump)
+(ido-ubiquitous-use-new-completing-read yas/expand 'yasnippet)
+
(provide 'setup-ido)

0 comments on commit 8c1ff9f

Please sign in to comment.