diff options
| author | Richard M. Stallman | 2005-08-09 02:53:54 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-08-09 02:53:54 +0000 |
| commit | 603715b0614809501af80a8888cf4f3c90f3e97d (patch) | |
| tree | d487dec1733f1008a8295ad12a4e0f85352e8a83 | |
| parent | 784f861953ad50be90c71c6fe8fdeeb34a0ee969 (diff) | |
| download | emacs-603715b0614809501af80a8888cf4f3c90f3e97d.tar.gz emacs-603715b0614809501af80a8888cf4f3c90f3e97d.zip | |
(c-mode-map, fortran-mode-map): Add defvars.
| -rw-r--r-- | lisp/completion.el | 6 |
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." | |||
| 2348 | 'use-completion-under-or-before-point))) | 2348 | 'use-completion-under-or-before-point))) |
| 2349 | 2349 | ||
| 2350 | ;; C mode diffs. | 2350 | ;; C mode diffs. |
| 2351 | |||
| 2352 | (defvar c-mode-map) | ||
| 2353 | |||
| 2351 | (defun completion-c-mode-hook () | 2354 | (defun completion-c-mode-hook () |
| 2352 | (def-completion-wrapper electric-c-semi :separator) | 2355 | (def-completion-wrapper electric-c-semi :separator) |
| 2353 | (define-key c-mode-map "+" 'completion-separator-self-insert-command) | 2356 | (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." | |||
| 2359 | (add-hook 'c-mode-hook 'completion-c-mode-hook)) | 2362 | (add-hook 'c-mode-hook 'completion-c-mode-hook)) |
| 2360 | 2363 | ||
| 2361 | ;; FORTRAN mode diffs. (these are defined when fortran is called) | 2364 | ;; FORTRAN mode diffs. (these are defined when fortran is called) |
| 2365 | |||
| 2366 | (defvar fortran-mode-map) | ||
| 2367 | |||
| 2362 | (defun completion-setup-fortran-mode () | 2368 | (defun completion-setup-fortran-mode () |
| 2363 | (define-key fortran-mode-map "+" 'completion-separator-self-insert-command) | 2369 | (define-key fortran-mode-map "+" 'completion-separator-self-insert-command) |
| 2364 | (define-key fortran-mode-map "-" 'completion-separator-self-insert-command) | 2370 | (define-key fortran-mode-map "-" 'completion-separator-self-insert-command) |