From 8520b9bd4c3d949785e51d519eb9a084edce3a68 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Wed, 11 Mar 2020 12:53:20 +0100 Subject: [PATCH] Emacs: Autoload adoc-mode with .adoc files. --- .emacs.d/init.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index d763776e..8003b91f 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -72,6 +72,9 @@ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +(add-to-list 'auto-mode-alist (cons "\\.adoc\\'" 'adoc-mode)):w + + (add-to-list 'load-path "/usr/share/asymptote") (autoload 'asy-mode "asy-mode" "Asymptote major mode." t) (autoload 'lasy-mode "asy-mode" "Hybrid Asymptote/Latex major mode." t)