From 8a254623b64da1b384edf43d86b487b4e34eab60 Mon Sep 17 00:00:00 2001 From: Robert Stuttaford Date: Sun, 11 Feb 2018 12:15:13 +0200 Subject: [PATCH] Update to use non-deprecated function to set font --- Emacs-instructions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Emacs-instructions.md b/Emacs-instructions.md index 8304141..1a2e900 100644 --- a/Emacs-instructions.md +++ b/Emacs-instructions.md @@ -1,7 +1,7 @@ Put this lisp in your `.emacs` (thanks [Sean Farley](https://github.com/seanfarley) for putting this together; extended by [Jason Blevins](https://github.com/jrblevin)): ```elisp (when (window-system) - (set-default-font "Fira Code")) + (set-frame-font "Fira Code")) (let ((alist '((33 . ".\\(?:\\(?:==\\|!!\\)\\|[!=]\\)") (35 . ".\\(?:###\\|##\\|_(\\|[#(?[_{]\\)") (36 . ".\\(?:>\\)")