summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-12-25 22:09:46 +0000
committerRichard M. Stallman <rms@gnu.org>1994-12-25 22:09:46 +0000
commit95ab9b4526a80e5d2f4f616002977a53deeec83c (patch)
treef1f765cc4bcf315adc1ed905f29c37a5a1ff3b8c /lisp
parentf8b581fa239ace91c181a25d94a07c779afa617f (diff)
downloademacs-95ab9b4526a80e5d2f4f616002977a53deeec83c.tar.gz
emacs-95ab9b4526a80e5d2f4f616002977a53deeec83c.tar.bz2
emacs-95ab9b4526a80e5d2f4f616002977a53deeec83c.zip
(completion-reference-buffer): Initialize to nil.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/simple.el3
1 files changed, 2 insertions, 1 deletions
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.