dot-emacs

My emacs dotfiles/config
git clone git://git.ethandl.dev/dot-emacs
Log | Files | Refs

commit 20aef1a176a493481fd89749b5219e27821818ce
parent 5d47b09ea393c9432c6e6c9c53e547420e396177
Author: Ethan Long <ethandavidlong@gmail.com>
Date:   Sat, 25 Nov 2023 17:03:54 +1100

Just decided to stop using nativecomp on Mac

On MacOS, emacs is fast enough anyway and I don't think the nativecomp
helps much.

Diffstat:
Mconfig.org | 7++++---
Minit.el | 10----------
2 files changed, 4 insertions(+), 13 deletions(-)

diff --git a/config.org b/config.org @@ -149,12 +149,13 @@ We can use ~use-package~ to configure emacs at startup. On MacOS we leave things (setq mac-option-modifier nil mac-command-modifier 'meta))) #+end_src -** Fonts & Ligature definitions +* Fonts & Ligature definitions #+begin_src emacs-lisp ;; Set the fonts ;; (ethandl/set-fonts "Comic Code Ligatures-16") - (ethandl/set-fonts "Victor Mono-16") - (add-hook 'after-make-frame-functions 'ethandl/set-fonts) + (setq code-font "Victor Mono-16") + (ethandl/set-fonts code-font) + (add-hook 'after-make-frame-functions (apply-partially #'ethandl/set-fonts code-font)) #+end_src #+begin_src emacs-lisp (setq comic-code-ligs '(("-" (rx (+ "-"))) ("-" (rx (* "-") ">")) diff --git a/init.el b/init.el @@ -1,13 +1,3 @@ -;; HACK: Work around native compilation on macOS failing with 'ld: library not -;; found for -lemutls_w'. -;; https://github.com/d12frosted/homebrew-emacs-plus/issues/554 -(setenv "LIBRARY_PATH" - (string-join - '("/opt/homebrew/opt/gcc/lib/gcc/13" - "/opt/homebrew/opt/libgccjit/lib/gcc/13" - "/opt/homebrew/opt/gcc/lib/gcc/13/gcc/aarch64-apple-darwin22/13") - ":")) - (defvar elpaca-installer-version 0.6) (defvar elpaca-directory (expand-file-name "elpaca/" user-emacs-directory)) (defvar elpaca-builds-directory (expand-file-name "builds/" elpaca-directory))