branch: externals/show-font commit dabd3b8c6be6f364938aab07d06eb0bc7f3ee3a3 Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Use a simpler error in show-font--list-families --- show-font.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/show-font.el b/show-font.el index e1e4c02c6f..4f9c3121fc 100644 --- a/show-font.el +++ b/show-font.el @@ -582,9 +582,7 @@ Optional REGEXP has the meaning documented in the function (t (propertize "No preview" 'face (list :inherit '(error show-font-regular))))))))) families) - (if regexp - (error "No font families match regexp `%s'" regexp) - (error "No font families found")))) + (error "No font families found"))) (defvar show-font-tabulated-current-regexp nil "Regexp for `show-font-get-installed-font-families'.