Skip to content

Commit 7968e93

Browse files
authored
Merge pull request #754 from boegel/fix_unuse_display_mode
always set display mode for unuse command
2 parents 19e97b1 + 5e26ecd commit 7968e93

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/cmdfuncs.lua

+4-1
Original file line numberDiff line numberDiff line change
@@ -1280,12 +1280,15 @@ function UnUse(...)
12801280
local mt = FrameStk:singleton():mt()
12811281
local argA = pack(...)
12821282
local nodups = true
1283+
1284+
local mrc = MRC:singleton();
1285+
mrc:set_display_mode("all")
1286+
12831287
for i = 1, argA.n do
12841288
local v = argA[i]
12851289
MCP:remove_path{ModulePath, v, delim=":", nodups = true, force = true}
12861290
end
12871291
if (mt:changeMPATH()) then
1288-
local mrc = MRC:singleton(); mrc:set_display_mode("all")
12891292
mt:reset_MPATH_change_flag()
12901293
hub.reloadAll()
12911294
end

0 commit comments

Comments
 (0)