Show More
@@ -66,12 +66,7 b' def uisetup(ui):' | |||||
66 | ui.pager('extension-via-attend-' + cmd) |
|
66 | ui.pager('extension-via-attend-' + cmd) | |
67 | return orig(ui, options, cmd, cmdfunc) |
|
67 | return orig(ui, options, cmd, cmdfunc) | |
68 |
|
68 | |||
69 | # Wrap dispatch._runcommand after color is loaded so color can see |
|
69 | extensions.wrapfunction(dispatch, '_runcommand', pagecmd) | |
70 | # ui.pageractive. Otherwise, if we loaded first, color's wrapped |
|
|||
71 | # dispatch._runcommand would run without having access to ui.pageractive. |
|
|||
72 | def afterloaded(loaded): |
|
|||
73 | extensions.wrapfunction(dispatch, '_runcommand', pagecmd) |
|
|||
74 | extensions.afterloaded('color', afterloaded) |
|
|||
75 |
|
70 | |||
76 | attended = [ |
|
71 | attended = [ | |
77 | 'the-default-attend-list-is-now-empty-but-that-breaks-the-extension', |
|
72 | 'the-default-attend-list-is-now-empty-but-that-breaks-the-extension', |
General Comments 0
You need to be logged in to leave comments.
Login now