From eb10a960308968cabb4c9b17930ef3c1fd746e84 Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Mon, 14 Sep 2020 12:22:48 +0300 Subject: [PATCH] refactor(packages): Simplify steps to accomplish the same thing --- packages/url.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/url.lua b/packages/url.lua index 8ac044f814..7b78aeea26 100644 --- a/packages/url.lua +++ b/packages/url.lua @@ -41,10 +41,7 @@ SILE.registerCommand("url", function (options, content) end) SILE.registerCommand("code", function(_, content) - SILE.settings.temporarily(function() - SILE.call("verbatim:font") - SILE.process(content) - end) + SILE.call("verbatim:font", {}, content) end) return {