From 95ab9b4526a80e5d2f4f616002977a53deeec83c Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 25 Dec 1994 22:09:46 +0000 Subject: [PATCH] (completion-reference-buffer): Initialize to nil. --- lisp/simple.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/simple.el b/lisp/simple.el index 06f1735dbce..125a64a9061 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -2591,7 +2591,8 @@ it were the arg to `interactive' (which see) to interactively read the value." (put 'completion-list-mode 'mode-class 'special) ;; Record the buffer that was current when the completion list was requested. -(defvar completion-reference-buffer) +;; Initial value is nil to avoid some compiler warnings. +(defvar completion-reference-buffer nil) ;; This records the length of the text at the beginning of the buffer ;; which was not included in the completion. -- 2.39.5