keybindingsFromFile: clarify exception behavior

This commit is contained in:
Jonathan Daugherty 2022-08-04 18:59:36 -07:00
parent 578872f819
commit 2336cbb2f0

View File

@ -157,8 +157,9 @@ keybindingsFromIni :: KeyEvents k
keybindingsFromIni evs section doc = keybindingsFromIni evs section doc =
Ini.parseIniFile doc (keybindingIniParser evs section) Ini.parseIniFile doc (keybindingIniParser evs section)
-- | Parse custom key binidngs from the specified INI file path. See -- | Parse custom key binidngs from the specified INI file path. This
-- 'keybindingsFromIni' for details. -- does not catch or convert any exceptions resulting from I/O errors.
-- See 'keybindingsFromIni' for details.
keybindingsFromFile :: KeyEvents k keybindingsFromFile :: KeyEvents k
-- ^ The key event name mapping to use to parse the -- ^ The key event name mapping to use to parse the
-- configuration data. -- configuration data.