blob: 63e35488b22fd4aa9ffb3d7f810edba38e55bc3e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
Description: Auto-activate forth-mode on loading Forth source files.
Bug-Debian: https://bugs.debian.org/587318
Forwarded: no
Author: Peter Pentchev <roam@ringlet.net>
Last-Update: 2016-04-09
--- 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>)
+;;; https://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 ()
|