Allow dot and underscore to be word class.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Tue, 23 Feb 2010 11:56:46 +0200
changeset 320 2c4a6d477785
parent 319 05d8c9f1c220
child 321 d4e017c7e4fb
Allow dot and underscore to be word class.
nsis-mode.el
--- a/nsis-mode.el	Tue Feb 23 11:46:18 2010 +0200
+++ b/nsis-mode.el	Tue Feb 23 11:56:46 2010 +0200
@@ -64,6 +64,14 @@
   nil
   "Generic mode for nsis files.")
 
+(add-hook
+ 'nsis-mode-hook
+ (lambda ()
+   (modify-syntax-entry ?_ "w")
+   (modify-syntax-entry ?. "w")
+   )
+ )
+
 (provide 'nsis-mode)
 
 ;;; nsis-mode.el ends here