changeset 10252:85ae09b49021

(completion-reference-buffer): Initialize to nil.
author Richard M. Stallman <rms@gnu.org>
date Sun, 25 Dec 1994 22:09:46 +0000
parents bf1c7dcc69db
children 4aa245b5eb83
files lisp/simple.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/simple.el	Sun Dec 25 22:05:30 1994 +0000
+++ b/lisp/simple.el	Sun Dec 25 22:09:46 1994 +0000
@@ -2591,7 +2591,8 @@
 (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.