about summary refs log tree commit diff stats
path: root/init.el
diff options
context:
space:
mode:
authorCase Duckworth2021-03-31 23:08:50 -0500
committerCase Duckworth2021-03-31 23:08:50 -0500
commit21f9b5c397a4948d7618436b667aa3f583ccc67b (patch)
tree4eb67bf43b2883c55c492fe0ebd5221d8f1d6f04 /init.el
parentAdd PDF Tools at home (diff)
downloademacs-21f9b5c397a4948d7618436b667aa3f583ccc67b.tar.gz
emacs-21f9b5c397a4948d7618436b667aa3f583ccc67b.zip
Add forth-mode
Only if gforth.el is around, though.
Diffstat (limited to 'init.el')
-rw-r--r--init.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/init.el b/init.el index 932a5c0..a681f42 100644 --- a/init.el +++ b/init.el
@@ -688,4 +688,11 @@ call `zzz-to-char'."
688 (add-to-list 'auto-mode-alist 688 (add-to-list 'auto-mode-alist
689 `(,(concat "\\." extension "\\'") . web-mode)))) 689 `(,(concat "\\." extension "\\'") . web-mode))))
690 690
691;;;;; FORTH
692(when (locate-library "gforth")
693 (autoload 'forth-mode "gforth")
694 (add-to-list 'auto-mode-alist '("\\.fs\\'" . forth-mode))
695 (autoload 'forth-block-mode "gforth")
696 (add-to-list 'auto-mode-alist '("\\.fb\\'" . forth-block-mode)))
697
691;;;- init.el ends here 698;;;- init.el ends here