--- a/lisp/nsis-mode.el Thu Jan 28 20:20:25 2010 +0200
+++ b/lisp/nsis-mode.el Thu Jan 28 20:24:42 2010 +0200
@@ -14,16 +14,15 @@
;;; Code:
-(when (eq window-system 'w32)
- (define-generic-mode 'nsis-generic-mode
- (list ?\;)
- '("Section" "SectionEnd" "Function" "FunctionEnd" "Call" "Goto")
- '(("!\\([A-Za-z]+\\)" (1 'font-lock-builtin-face))
- ("$[({]?\\([A-Za-z0-9_]+\\)[)}]?" (1 'font-lock-variable-name-face))
- )
- (list "\\.\\(nsi\\|nsh\\)$")
- nil
- "Generic mode for nsis files."))
+(define-generic-mode 'nsis-mode
+ (list ?\;)
+ '("Section" "SectionEnd" "Function" "FunctionEnd" "Call" "Goto")
+ '(("!\\([A-Za-z]+\\)" (1 'font-lock-builtin-face))
+ ("$[({]?\\([A-Za-z0-9_]+\\)[)}]?" (1 'font-lock-variable-name-face))
+ )
+ (list "\\.\\(nsi\\|nsh\\)$")
+ nil
+ "Generic mode for nsis files.")
(provide 'nsis-mode)