branch: externals/fontaine
commit 63cc5d78e82eeb2c5ea1a546686cf587dc7ae735
Merge: e689b0c55e 9bd8bdbba6
Author: Protesilaos Stavrou <[email protected]>
Commit: GitHub <[email protected]>
Merge pull request #13 from jgarte/patch-1
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