Enable wesnoth-mode if possible.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Wed, 25 Feb 2015 01:13:28 +0200
changeset 1227 e2355b44d39d
parent 1226 febcf7755a3d
child 1228 0743afb0b1a5
Enable wesnoth-mode if possible.
.emacs-my
--- a/.emacs-my	Wed Feb 25 01:07:50 2015 +0200
+++ b/.emacs-my	Wed Feb 25 01:13:28 2015 +0200
@@ -2759,13 +2759,6 @@
 ;; loaded from 'generic-x.el'
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-(message "nsis-mode")
-
-(when (fboundp 'nsis-mode)
-  (add-to-list 'auto-mode-alist '("\\.\\(nsi\\|nsh\\)\\'" . nsis-mode))
-  )
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 (message "csharp, c-sharp")
 
 (autoload 'csharp-mode "csharp-mode" "Major mode for editing C# code." t)
@@ -2797,6 +2790,22 @@
 (setq ecb-tip-of-the-day nil)
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+(message "nsis-mode")
+
+(when (fboundp 'nsis-mode)
+  (add-to-list 'auto-mode-alist '("\\.\\(nsi\\|nsh\\)\\'" . nsis-mode))
+  )
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+(message "wesnoth-mode")
+
+(ignore-errors
+  (require 'wesnoth-mode)
+  (add-to-list 'auto-mode-alist '("wesnoth.*\\.cfg\\'" . wesnoth-mode)) )
+
+(setq wesnoth-base-indent 2)
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 (message "htmlize")
 
 (setq