branch: externals/fontaine
commit 9bd8bdbba68851e1e436ee9de75e8c9113fe7997
Author: Jorge Gomez <[email protected]>
Commit: GitHub <[email protected]>
Log warning when starting Emacs in terminal
---
fontaine.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fontaine.el b/fontaine.el
index 9eaab0ec7c..9adf9648d7 100644
--- a/fontaine.el
+++ b/fontaine.el
@@ -477,7 +477,7 @@ Set `fontaine-current-preset' to PRESET. Also see the
command
Call `fontaine-set-preset-hook' as a final step."
(interactive (list (fontaine--set-fonts-prompt) current-prefix-arg))
(if (and (not (daemonp)) (not window-system))
- (user-error "Cannot use this in a terminal emulator; try the Emacs GUI")
+ (display-warning "Cannot use this in a terminal emulator; try the Emacs
GUI")
(fontaine--set-faces preset frame)
(setq fontaine-current-preset preset)
(unless frame