From 21f9b5c397a4948d7618436b667aa3f583ccc67b Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 31 Mar 2021 23:08:50 -0500 Subject: Add forth-mode Only if gforth.el is around, though. --- init.el | 7 +++++++ 1 file changed, 7 insertions(+) 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'." (add-to-list 'auto-mode-alist `(,(concat "\\." extension "\\'") . web-mode)))) +;;;;; FORTH +(when (locate-library "gforth") + (autoload 'forth-mode "gforth") + (add-to-list 'auto-mode-alist '("\\.fs\\'" . forth-mode)) + (autoload 'forth-block-mode "gforth") + (add-to-list 'auto-mode-alist '("\\.fb\\'" . forth-block-mode))) + ;;;- init.el ends here -- cgit 1.4.1-21-gabe81