* lisp/outline.el (outline--valid-emoji-p): Don't try to probe
support for display of Emoji characters on TTY frames. (Bug#51578)
" " (buffer-substring (point) (1+ (point))))))
(defun outline--valid-emoji-p (string)
- (when-let ((font (car (internal-char-font nil ?😀))))
+ (when-let ((font (and (display-multi-font-p)
+ (car (internal-char-font nil ?😀)))))
(font-has-char-p font (aref string 0))))
(defun outline--valid-char-p (string)