changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > core / emacs/init.el

changeset 682: 5e8b1855f866
parent: 77cd10dfa212
author: Richard Westhaver <ellis@rwest.io>
date: Sat, 28 Sep 2024 16:42:55 -0400
permissions: -rw-r--r--
description: lisp fixes
1 ;;; init.el --- emacs init -*- lexical-binding: t -*-
2 
3 ;; default init file for GNU Emacs.
4 
5 ;;; Code:
6 (add-to-list 'load-path (expand-file-name "lib" user-emacs-directory))
7 
8 (dolist (x '("util.el" "default.el" "keys.el"))
9  (let ((y (concat user-emacs-directory x)))
10  (setf byte-compile-warnings nil
11  native-comp-async-warnings-errors-kind nil)
12  (if (and (native-comp-available-p) (not (eq system-type 'darwin)))
13  (native-compile y)
14  (byte-compile-file y))
15  (load y nil t)))
16 
17 (add-hook 'after-init-hook (load-keys))
18 
19 (add-hook 'after-init-hook (if (and (boundp 'user-custom-file) (file-exists-p user-custom-file))
20  (load-file user-custom-file)))
21 
22 (add-hook 'after-init-hook 'load-default-theme)
23 
24 (custom-set-variables
25  ;; custom-set-variables was added by Custom.
26  ;; If you edit it by hand, you could mess it up, so be careful.
27  ;; Your init file should contain only one such instance.
28  ;; If there is more than one, they won't work right.
29  '(custom-safe-themes
30  '("c3e62e14eb625e02e5aeb03d315180d5bb6627785e48f23ba35eb7b974a940af"
31  "01cad03be8c042a9941fda5a484280629ee2cc83fe084af6d19376c83141c91b"
32  "79ab8329f4522beaa2285888d38f6204bb60f324912660d774a412a79e336d6c"
33  "9ddb83c12595e789e9abd04a5c0705661748776223a794a6f64669352b956e79"
34  "29a073e66535bad18e11e9bcaa17d7f2d17e4c79f01023e59e9841633915c232"
35  "587ce9a1a961792114991fd488ef9c3fc37f165f6fea8b89d155640e81d165a3"
36  "8a3d04fd24afde8333c1437a3ecaa616f121554041a4e7e48f21b28f13b50246"
37  "4f03e70554a58349740973c69e73aefd8ce761a77b22a9dc52a19e708532084a"
38  "0a953c81f5798aa99cafbc4aa8a56d16827442400028f6c1eab0c43061ea331c"
39  "b93039071f490613499b76c237c2624ae67a9aafbc717da9b4d81f456344e56e"
40  default)))