1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
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 ()
|