changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > core / emacs/init.el

changeset 671: 1f065ead57ca
parent: 849f72b72b41
child: 77cd10dfa212
author: Richard Westhaver <ellis@rwest.io>
date: Mon, 23 Sep 2024 21:22:28 -0400
permissions: -rw-r--r--
description: removed use of internal 'describe-block'
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  (if (and (native-comp-available-p) (not (eq system-type 'darwin)))
11  (native-compile y)
12  (byte-compile-file y))
13  (load y nil t)))
14 
15 (add-hook 'after-init-hook (load-keys))
16 
17 (add-hook 'after-init-hook (if (and (boundp 'user-custom-file) (file-exists-p user-custom-file))
18  (load-file user-custom-file)))
19 
20 (add-hook 'after-init-hook 'load-default-theme)
21 
22 (custom-set-variables
23  ;; custom-set-variables was added by Custom.
24  ;; If you edit it by hand, you could mess it up, so be careful.
25  ;; Your init file should contain only one such instance.
26  ;; If there is more than one, they won't work right.
27  '(custom-safe-themes
28  '("c3e62e14eb625e02e5aeb03d315180d5bb6627785e48f23ba35eb7b974a940af"
29  "01cad03be8c042a9941fda5a484280629ee2cc83fe084af6d19376c83141c91b"
30  "79ab8329f4522beaa2285888d38f6204bb60f324912660d774a412a79e336d6c"
31  "9ddb83c12595e789e9abd04a5c0705661748776223a794a6f64669352b956e79"
32  "29a073e66535bad18e11e9bcaa17d7f2d17e4c79f01023e59e9841633915c232"
33  "587ce9a1a961792114991fd488ef9c3fc37f165f6fea8b89d155640e81d165a3"
34  "8a3d04fd24afde8333c1437a3ecaa616f121554041a4e7e48f21b28f13b50246"
35  "4f03e70554a58349740973c69e73aefd8ce761a77b22a9dc52a19e708532084a"
36  "0a953c81f5798aa99cafbc4aa8a56d16827442400028f6c1eab0c43061ea331c"
37  "b93039071f490613499b76c237c2624ae67a9aafbc717da9b4d81f456344e56e"
38  default)))