From: Richard M. Stallman Date: Tue, 9 Aug 2005 02:53:54 +0000 (+0000) Subject: (c-mode-map, fortran-mode-map): Add defvars. X-Git-Tag: emacs-pretest-22.0.90~7736 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=603715b0614809501af80a8888cf4f3c90f3e97d;p=emacs.git (c-mode-map, fortran-mode-map): Add defvars. --- diff --git a/lisp/completion.el b/lisp/completion.el index ddc556f693b..4b0f6cac9a6 100644 --- a/lisp/completion.el +++ b/lisp/completion.el @@ -2348,6 +2348,9 @@ TYPE is the type of the wrapper to be added. Can be :before or :under." '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 @@ TYPE is the type of the wrapper to be added. Can be :before or :under." (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)