Explorar el Código

Declare some used variables using defvar

This prevents compile warnings about free variables.
Ryan C. Thompson hace 11 años
padre
commit
38392c08fb
Se han modificado 1 ficheros con 6 adiciones y 1 borrados
  1. 6 1
      ido-ubiquitous.el

+ 6 - 1
ido-ubiquitous.el

@@ -52,8 +52,13 @@
 (require 'advice)
 (require 'cl)
 
-;; Declare this ahead of time to quiet the compiler
+;; Declare these ahead of time to quiet the compiler
 (defvar ido-ubiquitous-fallback-completing-read-function)
+(defvar predicate)
+(defvar inherit-input-method)
+(defvar ido-cur-item)
+(defvar ido-default-item)
+(defvar ido-cur-list)
 
 ;;; Internal utility functions