branch: externals/show-font
commit c6b6e15661a5cfdaf095390d75cc593f3fd57c01
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    Make the prompt use the default value
---
 show-font.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/show-font.el b/show-font.el
index 2ddf609ec7..2d211bbc7e 100644
--- a/show-font.el
+++ b/show-font.el
@@ -434,7 +434,7 @@ Optional REGEXP has the same meaning as in the 
aforementioned function."
     (completing-read
      (format-prompt "Select font to preview" def)
      (show-font-get-installed-font-families regexp)
-     nil t nil 'show-font-select-preview-history)))
+     nil t nil 'show-font-select-preview-history def)))
 
 ;;;###autoload
 (defun show-font-select-preview (family)

Reply via email to