From: Lars Ingebrigtsen Date: Sat, 12 Sep 2020 13:08:41 +0000 (+0200) Subject: Fix compilation warning in obsolete/complete.el X-Git-Tag: emacs-28.0.90~6109 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=661c0dfa2f8af202535719477718413d1c094959;p=emacs.git Fix compilation warning in obsolete/complete.el * lisp/obsolete/complete.el (completion-base-size): Avoid compilation warning. --- diff --git a/lisp/obsolete/complete.el b/lisp/obsolete/complete.el index bf16fb25cd0..b1448e72e86 100644 --- a/lisp/obsolete/complete.el +++ b/lisp/obsolete/complete.el @@ -431,6 +431,8 @@ of `minibuffer-completion-table' and the minibuffer contents.") (let ((result (try-completion string alist predicate))) (if (eq result t) string result))) +(defvar completion-base-size) + ;; TODO document MODE magic... (defun PC-do-completion (&optional mode beg end goto-end) "Internal function to do the work of partial completion.