diff options
author | Gaëtan Gilbert <gaetan.gilbert@skyskimmer.net> | 2018-02-11 21:55:17 +0100 |
---|---|---|
committer | Gaëtan Gilbert <gaetan.gilbert@skyskimmer.net> | 2018-02-11 21:55:17 +0100 |
commit | e4529a4349110c2edb6bd08f873175db71363a84 (patch) | |
tree | 36db32877f8a7a6ac4338d8d626f0ad2e8e37834 | |
parent | 568dffcc32cfdec78e7824fa6875d892fb9cfd5a (diff) |
coqdev.el: add installation instructions.
-rw-r--r-- | dev/tools/coqdev.el | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/dev/tools/coqdev.el b/dev/tools/coqdev.el index 581995d46..f5a0feffa 100644 --- a/dev/tools/coqdev.el +++ b/dev/tools/coqdev.el @@ -13,6 +13,22 @@ ;; using `remove-hook', for instance ;; (remove-hook 'hack-local-variables-hook #'coqdev-setup-compile-command) +;;; Installation: + +;; To use this, with coqdev.el located at /path/to/coqdev.el, add the +;; following to your init: + +;; (add-to-list 'load-path "/path/to/coqdev/") +;; (require 'coqdev) + +;; If you load this file from a git repository, checking out an old +;; commit will make it disappear and cause errors for your Emacs +;; startup. To ignore those errors use (require 'coqdev nil t). If you +;; check out a malicious commit Emacs startup would allow it to run +;; arbitrary code, to avoid this you can copy coqdev.el to any +;; location and adjust the load path accordingly (of course if you run +;; ./configure to compile Coq it is already too late). + ;;; Code: (require 'subr-x) @@ -67,3 +83,4 @@ Note that this function is executed before _Coqproject is read if it exists." (add-hook 'hack-local-variables-hook #'coqdev-setup-proofgeneral) (provide 'coqdev) +;;; coqdev ends here |