hgkw/keyword.py
changeset 710 2f341cf2268d
parent 708 676de4ffd778
child 714 1acf49264a06
--- a/hgkw/keyword.py	Mon Apr 12 14:12:56 2010 +0200
+++ b/hgkw/keyword.py	Tue Mar 16 22:29:16 2010 +0100
@@ -322,11 +322,7 @@
 
     uisetup(ui)
     reposetup(ui, repo)
-    for k, v in ui.configitems('extensions'):
-        if k.endswith('keyword'):
-            extension = '%s = %s' % (k, v)
-            break
-    ui.write('[extensions]\n%s\n' % extension)
+    ui.write('[extensions]\nkeyword =\n')
     demoitems('keyword', ui.configitems('keyword'))
     demoitems('keywordmaps', kwmaps.iteritems())
     keywords = '$' + '$\n$'.join(sorted(kwmaps.keys())) + '$\n'