Commit f1dce568 authored by Benjamin Canou's avatar Benjamin Canou

Michelson: fix Emacs mode

parent 9ed554f8
Pipeline #25538454 passed with stages
in 20 minutes 14 seconds
......@@ -901,9 +901,11 @@ Enables or disables stack and error display."
(setq buffer-file-coding-system 'utf-8-unix)
(add-hook 'completion-at-point-functions 'michelson-completion-at-point nil 'local)
(setq-local company-backends '(company-capf))
(setq-local process-environment (cons "ALPHANET_EMACS=true"
(cons "TEZOS_ALPHANET_DO_NOT_PULL=yes"
process-environment)))
(setq-local process-environment
(cons "TEZOS_CLIENT_UNSAFE_DISABLE_DISCLAIMER=Y"
(cons "ALPHANET_EMACS=true"
(cons "TEZOS_ALPHANET_DO_NOT_PULL=yes"
process-environment))))
(run-hooks 'michelson-mode-hook))
(add-to-list 'auto-mode-alist '("\\.tz\\'" . michelson-mode))
(add-to-list 'auto-mode-alist '("\\.tez\\'" . michelson-mode))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment