# HG changeset patch # User Oleksandr Gavenko # Date 1317109054 -10800 # Node ID 659c1d14b849ee6343fe248c360fbafefc619dd9 # Parent 98687875846ee4948d84a337bed4dd0d062ae382 Section name can contain spaces. Handle this situation. diff -r 98687875846e -r 659c1d14b849 nsis-mode.el --- a/nsis-mode.el Tue Sep 27 10:34:48 2011 +0300 +++ b/nsis-mode.el Tue Sep 27 10:37:34 2011 +0300 @@ -78,7 +78,7 @@ (setq nsis-imenu-generic-expression '( ("Defines" "^!define[[:blank:]]+\\([[:word:]]+\\)" 1) - ("Sections" "^Section[[:blank:]]+\"?\\(-?[[:word:]]+\\)\"?" 1) + ("Sections" "^Section[[:blank:]]+\"?\\(-?[[:word:] ]+\\)\"?" 1) ("Functions" "^Function[[:blank:]]+\\([[:word:]]+\\)" 1) ("Macros" "^!macro[[:blank:]]+\\([[:word:]]+\\)" 1) ))