Reference for https://idcrook.github.io/emacs27-from-homebrew-on-macos-with-emoji/
From elisp/base-platforms.el#L167-L174
;;; Useful for https://github.com/dunn/company-emoji
;; https://www.reddit.com/r/emacs/comments/8ph0hq/i_have_converted_from_the_mac_port_to_the_ns_port/
;; not tested with emacs26 (requires a patched Emacs version for multi-color font support)
(if (version< "27.0" emacs-version)
(set-fontset-font
"fontset-default" 'unicode "Apple Color Emoji" nil 'prepend)
(set-fontset-font
t 'symbol (font-spec :family "Apple Color Emoji") nil 'prepend))