Emacs: Asymptote mode

master
Pierre Neidhardt 2014-12-16 10:10:41 +01:00
parent 892d145f4b
commit 871801c269
1 changed files with 6 additions and 0 deletions

View File

@ -78,6 +78,12 @@ Example: to assign some-function to C-i, use
(setq package-user-dir (concat emacs-cache-folder "elpa"))
(package-initialize))
(add-to-list 'load-path "/usr/share/asymptote")
(autoload 'asy-mode "asy-mode.el" "Asymptote major mode." t)
(autoload 'lasy-mode "asy-mode.el" "Hybrid Asymptote/Latex major mode." t)
(autoload 'asy-insinuate-latex "asy-mode.el" "Asymptote insinuate LaTeX." t)
(add-to-list 'auto-mode-alist '("\\.asy$" . asy-mode))
(load-external "\\.bbcode\\'" 'bbcode-mode)
(add-hook 'bbcode-mode-hook (lambda () (require 'mode-bbcode)))