浏览代码

Declare some used variables using defvar

This prevents compile warnings about free variables.
Ryan C. Thompson 11 年之前
父节点
当前提交
38392c08fb
共有 1 个文件被更改,包括 6 次插入1 次删除
  1. 6 1
      ido-ubiquitous.el

+ 6 - 1
ido-ubiquitous.el

@@ -52,8 +52,13 @@
 (require 'advice)
 (require 'advice)
 (require 'cl)
 (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 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
 ;;; Internal utility functions