]> git.eshelyaron.com Git - emacs.git/commitdiff
(completion-reference-buffer): Initialize to nil.
authorRichard M. Stallman <rms@gnu.org>
Sun, 25 Dec 1994 22:09:46 +0000 (22:09 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 25 Dec 1994 22:09:46 +0000 (22:09 +0000)
lisp/simple.el

index 06f1735dbce01f699f01de1d54b952fe2e2143d0..125a64a9061cfdfee290e623e6ec733b83331f8a 100644 (file)
@@ -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.