Etymology
Today it means: In a way that is not expedient. Full definition →
From inexpedient + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.