changeset 64799:e614d93ce721

(c-mode-map, fortran-mode-map): Add defvars.
author Richard M. Stallman <rms@gnu.org>
date Tue, 09 Aug 2005 02:53:54 +0000
parents b61d2aa00716
children bf2ce0e2b48b
files lisp/completion.el
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/completion.el	Tue Aug 09 02:53:39 2005 +0000
+++ b/lisp/completion.el	Tue Aug 09 02:53:54 2005 +0000
@@ -2348,6 +2348,9 @@
 	       'use-completion-under-or-before-point)))
 
 ;; C mode diffs.
+
+(defvar c-mode-map)
+
 (defun completion-c-mode-hook ()
   (def-completion-wrapper electric-c-semi :separator)
   (define-key c-mode-map "+" 'completion-separator-self-insert-command)
@@ -2359,6 +2362,9 @@
   (add-hook 'c-mode-hook 'completion-c-mode-hook))
 
 ;; FORTRAN mode diffs. (these are defined when fortran is called)
+
+(defvar fortran-mode-map)
+
 (defun completion-setup-fortran-mode ()
   (define-key fortran-mode-map "+" 'completion-separator-self-insert-command)
   (define-key fortran-mode-map "-" 'completion-separator-self-insert-command)