summaryrefslogtreecommitdiff
path: root/lisp/completion.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2005-08-09 02:53:54 +0000
committerRichard M. Stallman <rms@gnu.org>2005-08-09 02:53:54 +0000
commit603715b0614809501af80a8888cf4f3c90f3e97d (patch)
treed487dec1733f1008a8295ad12a4e0f85352e8a83 /lisp/completion.el
parent784f861953ad50be90c71c6fe8fdeeb34a0ee969 (diff)
downloademacs-603715b0614809501af80a8888cf4f3c90f3e97d.tar.gz
(c-mode-map, fortran-mode-map): Add defvars.
Diffstat (limited to 'lisp/completion.el')
-rw-r--r--lisp/completion.el6
1 files changed, 6 insertions, 0 deletions
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)