Description: Auto-activate forth-mode on loading Forth source files.
Bug-Debian: http://bugs.debian.org/587318
Origin: other: http://svn.ringlet.net/svn/ringlet/mail/dma/
Forwarded: no
Author: Peter Pentchev <roam@ringlet.net>
Last-Update: 2014-02-25

--- a/gforth.el
+++ b/gforth.el
@@ -142,6 +142,15 @@
 ; 
 ; Folding neuschreiben (neue Parser-Informationen benutzen)
 
+;;; Add Forth source file suffixes (Peter Pentchev <roam@ringlet.net>)
+;;; http://bugs.debian.org/587318
+;;;
+;;;###autoload
+(setq auto-mode-alist
+  (append '(("\\.fs$" . forth-mode)
+    ("\\.4th$" . forth-mode)
+    ("\\.fth$" . forth-mode)) auto-mode-alist))
+
 ;;; Motion-hooking (dk)
 ;;;
 (defun forth-idle-function ()
