diff options
author | Case Duckworth | 2021-03-31 23:08:50 -0500 |
---|---|---|
committer | Case Duckworth | 2021-03-31 23:08:50 -0500 |
commit | 21f9b5c397a4948d7618436b667aa3f583ccc67b (patch) | |
tree | 4eb67bf43b2883c55c492fe0ebd5221d8f1d6f04 | |
parent | Add PDF Tools at home (diff) | |
download | emacs-21f9b5c397a4948d7618436b667aa3f583ccc67b.tar.gz emacs-21f9b5c397a4948d7618436b667aa3f583ccc67b.zip |
Add forth-mode
Only if gforth.el is around, though.
-rw-r--r-- | init.el | 7 |
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 |