Show More
@@ -159,7 +159,12 b' def uisetup(ui):' | |||
|
159 | 159 | _runpager(ui, p) |
|
160 | 160 | return orig(ui, options, cmd, cmdfunc) |
|
161 | 161 | |
|
162 | extensions.wrapfunction(dispatch, '_runcommand', pagecmd) | |
|
162 | # Wrap dispatch._runcommand after color is loaded so color can see | |
|
163 | # ui.pageractive. Otherwise, if we loaded first, color's wrapped | |
|
164 | # dispatch._runcommand would run without having access to ui.pageractive. | |
|
165 | def afterloaded(loaded): | |
|
166 | extensions.wrapfunction(dispatch, '_runcommand', pagecmd) | |
|
167 | extensions.afterloaded('color', afterloaded) | |
|
163 | 168 | |
|
164 | 169 | def extsetup(ui): |
|
165 | 170 | commands.globalopts.append( |
General Comments 0
You need to be logged in to leave comments.
Login now