diff options
| author | David Aspinall | 2000-05-11 14:33:15 +0000 |
|---|---|---|
| committer | David Aspinall | 2000-05-11 14:33:15 +0000 |
| commit | cc165f075b300ed4b20b6cbfa01582964d2936fa (patch) | |
| tree | 0823a69ead623c349dd48104dcd4c35a4a8f63de | |
| parent | 6fe58d49067e9c31cd46c019a6a41287d8161bf8 (diff) | |
Changes and compatibility fixes for specific menu/keybindings.
| -rw-r--r-- | coq/coq.el | 19 |
1 files changed, 8 insertions, 11 deletions
@@ -49,14 +49,13 @@ ;; ----- coq specific menu -(defcustom coq-menu-entries +(proof-defass-default menu-entries '(["Intros" coq-Intros] ["Apply" coq-Apply] ["Search isos" coq-SearchIsos] ["Begin Section" coq-begin-Section] ["End Section" coq-end-Section] - ["Compile" coq-Compile]) - "Entries for Coq menu.") + ["Compile" coq-Compile])) ;; ----- coq-shell configuration options @@ -318,13 +317,13 @@ This is specific to coq-mode." (l (string-match ".v" n))) (compile (concat "make " (substring n 0 l) ".vo")))) -(proof-defshortcut coq-Intros "Intros " ?i) -(proof-defshortcut coq-Apply "Apply " ?a) -(proof-defshortcut coq-begin-Section "Section " ?s) +(proof-defshortcut coq-Intros "Intros " [?i]) +(proof-defshortcut coq-Apply "Apply " [?a]) +(proof-defshortcut coq-begin-Section "Section " [?s]) -(define-key proof-assistant-keymap ?e 'coq-end-Section) -(define-key proof-assistant-keymap ?m 'coq-Compile) -(define-key proof-assistant-keymap ?o 'coq-SearchIsos) +(define-key coq-keymap [?e] 'coq-end-Section) +(define-key coq-keymap [?m] 'coq-Compile) +(define-key coq-keymap [?o] 'coq-SearchIsos) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; @@ -419,8 +418,6 @@ This is specific to coq-mode." (setq proof-assistant-home-page coq-www-home-page) - (setq proof-assistant-menu-entries coq-menu-entries) - (setq proof-mode-for-script 'coq-mode) (setq proof-guess-command-line 'coq-guess-command-line) |
