Explorar el Código

Remove unnecessary autoloading code

With the new advice system, the advice is itself an autoloaded
function, so calling it automatically loads the file.
Ryan C. Thompson hace 7 años
padre
commit
2a20c53019
Se han modificado 1 ficheros con 0 adiciones y 4 borrados
  1. 0 4
      ido-completing-read+.el

+ 0 - 4
ido-completing-read+.el

@@ -717,10 +717,6 @@ completion for them."
   "This advice allows ido-cr+ to completely replace `ido-completing-read'.
 
 See the varaible `ido-cr+-replace-completely' for more information."
-  ;; If this advice is autoloaded, then we need to force loading of
-  ;; the rest of the file so all the variables will be defined.
-  (when (not (featurep 'ido-completing-read+))
-    (require 'ido-completing-read+))
   (if (or (ido-cr+-active)
           (not ido-cr+-replace-completely))
       ;; ido-cr+ has either already activated or isn't going to