diff options
author | Clément Pit-Claudel <cpitclaudel@gmail.com> | 2017-05-05 10:22:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-05 10:22:25 -0400 |
commit | 409a116b00a2208e0fbc528981176d29c7966db6 (patch) | |
tree | 64131a91074063c119f10aa63d044d3011813c47 /coq/coq-abbrev.el | |
parent | 8038b7270e7fd9752a62be2b4e59f26b8d0e48dc (diff) | |
parent | f607be020b5d5ebbca5a5b8a2cea2e234cace966 (diff) |
Merge pull request #157 from ProofGeneral/elpa
[WIP] ELPA/MELPA support
Diffstat (limited to 'coq/coq-abbrev.el')
-rw-r--r-- | coq/coq-abbrev.el | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/coq/coq-abbrev.el b/coq/coq-abbrev.el index 062f7580..79231ad9 100644 --- a/coq/coq-abbrev.el +++ b/coq/coq-abbrev.el @@ -71,7 +71,7 @@ ;; DA: how about above, just temporarily disable saving? (message "Coq default abbrevs loaded"))) -(unless noninteractive +(unless (or noninteractive (bound-and-true-p byte-compile-current-file)) (coq-install-abbrevs)) ;;;;; @@ -98,7 +98,7 @@ It was constructed with `proof-defstringset-fn'.") ;; The coq menu partly built from tables -;; Common part (scrit, response and goals buffers) +;; Common part (script, response and goals buffers) (defconst coq-menu-common-entries `( ["Toggle 3 Windows Mode" proof-three-window-toggle @@ -304,7 +304,7 @@ It was constructed with `proof-defstringset-fn'.") ["ML4PG" (coq-activate-ml4pg) :help "Activates ML4PG: machine-learning methods for Proof General"] )) -(defpgdefault menu-entries +(setq-default coq-menu-entries (append coq-menu-common-entries `( "" @@ -342,12 +342,10 @@ It was constructed with `proof-defstringset-fn'.") ["help" coq-local-vars-list-show-doc t] ["Compile" coq-Compile t])))) -(defpgdefault help-menu-entries +(setq-default coq-help-menu-entries '(["help on setting prog name persistently for a file" coq-local-vars-list-show-doc t])) -(defpgdefault other-buffers-menu-entries coq-menu-common-entries) - - +(setq-default coq-other-buffers-menu-entries coq-menu-common-entries) (provide 'coq-abbrev) |