changelog shortlog graph tags branches changeset files file revisions raw help

Mercurial > core / annotate 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
21
3a0dac7e29ae Signed-off-by: ellis <ellis@rwest.io>
ellis <ellis@rwest.io>
parents: 9
diff changeset
1
 ;;; init.el --- emacs init -*- lexical-binding: t -*-
3a0dac7e29ae Signed-off-by: ellis <ellis@rwest.io>
ellis <ellis@rwest.io>
parents: 9
diff changeset
2
 
3a0dac7e29ae Signed-off-by: ellis <ellis@rwest.io>
ellis <ellis@rwest.io>
parents: 9
diff changeset
3
 ;; default init file for GNU Emacs.
3a0dac7e29ae Signed-off-by: ellis <ellis@rwest.io>
ellis <ellis@rwest.io>
parents: 9
diff changeset
4
 
3a0dac7e29ae Signed-off-by: ellis <ellis@rwest.io>
ellis <ellis@rwest.io>
parents: 9
diff changeset
5
 ;;; Code:
62
e310b68526b9 elisp and lisp
ellis <ellis@rwest.io>
parents: 43
diff changeset
6
 (add-to-list 'load-path (expand-file-name "lib" user-emacs-directory))
e310b68526b9 elisp and lisp
ellis <ellis@rwest.io>
parents: 43
diff changeset
7
 
635
849f72b72b41 add back fuzz.lisp and proper codegen for parquet.json thrift definitions
Richard Westhaver <ellis@rwest.io>
parents: 623
diff changeset
8
 (dolist (x '("util.el" "default.el" "keys.el"))
682
5e8b1855f866 lisp fixes
Richard Westhaver <ellis@rwest.io>
parents: 681
diff changeset
9
   (let ((y (concat user-emacs-directory x)))
5e8b1855f866 lisp fixes
Richard Westhaver <ellis@rwest.io>
parents: 681
diff changeset
10
     (setf byte-compile-warnings nil
5e8b1855f866 lisp fixes
Richard Westhaver <ellis@rwest.io>
parents: 681
diff changeset
11
           native-comp-async-warnings-errors-kind nil)
43
519ab3f9f548 darwin updates
ellis <ellis@rwest.io>
parents: 33
diff changeset
12
     (if (and (native-comp-available-p) (not (eq system-type 'darwin)))
519ab3f9f548 darwin updates
ellis <ellis@rwest.io>
parents: 33
diff changeset
13
          (native-compile y)
519ab3f9f548 darwin updates
ellis <ellis@rwest.io>
parents: 33
diff changeset
14
          (byte-compile-file y))
62
e310b68526b9 elisp and lisp
ellis <ellis@rwest.io>
parents: 43
diff changeset
15
 	 (load y nil t)))
33
e3b0ec661dfa added inbox.el, more emacs config
ellis <ellis@rwest.io>
parents: 27
diff changeset
16
 
188
34bacb513d55 config fixes
Richard Westhaver <ellis@rwest.io>
parents: 62
diff changeset
17
 (add-hook 'after-init-hook (load-keys))
34bacb513d55 config fixes
Richard Westhaver <ellis@rwest.io>
parents: 62
diff changeset
18
 
34bacb513d55 config fixes
Richard Westhaver <ellis@rwest.io>
parents: 62
diff changeset
19
 (add-hook 'after-init-hook (if (and (boundp 'user-custom-file) (file-exists-p user-custom-file))
34bacb513d55 config fixes
Richard Westhaver <ellis@rwest.io>
parents: 62
diff changeset
20
 	                       (load-file user-custom-file)))
34bacb513d55 config fixes
Richard Westhaver <ellis@rwest.io>
parents: 62
diff changeset
21
 
623
a304c9713a51 init graph.el
Richard Westhaver <ellis@rwest.io>
parents: 188
diff changeset
22
 (add-hook 'after-init-hook 'load-default-theme)
635
849f72b72b41 add back fuzz.lisp and proper codegen for parquet.json thrift definitions
Richard Westhaver <ellis@rwest.io>
parents: 623
diff changeset
23
 
849f72b72b41 add back fuzz.lisp and proper codegen for parquet.json thrift definitions
Richard Westhaver <ellis@rwest.io>
parents: 623
diff changeset
24
 (custom-set-variables
849f72b72b41 add back fuzz.lisp and proper codegen for parquet.json thrift definitions
Richard Westhaver <ellis@rwest.io>
parents: 623
diff changeset
25
  ;; custom-set-variables was added by Custom.
849f72b72b41 add back fuzz.lisp and proper codegen for parquet.json thrift definitions
Richard Westhaver <ellis@rwest.io>
parents: 623
diff changeset
26
  ;; If you edit it by hand, you could mess it up, so be careful.
849f72b72b41 add back fuzz.lisp and proper codegen for parquet.json thrift definitions
Richard Westhaver <ellis@rwest.io>
parents: 623
diff changeset
27
  ;; Your init file should contain only one such instance.
849f72b72b41 add back fuzz.lisp and proper codegen for parquet.json thrift definitions
Richard Westhaver <ellis@rwest.io>
parents: 623
diff changeset
28
  ;; If there is more than one, they won't work right.
849f72b72b41 add back fuzz.lisp and proper codegen for parquet.json thrift definitions
Richard Westhaver <ellis@rwest.io>
parents: 623
diff changeset
29
  '(custom-safe-themes
849f72b72b41 add back fuzz.lisp and proper codegen for parquet.json thrift definitions
Richard Westhaver <ellis@rwest.io>
parents: 623
diff changeset
30
    '("c3e62e14eb625e02e5aeb03d315180d5bb6627785e48f23ba35eb7b974a940af"
849f72b72b41 add back fuzz.lisp and proper codegen for parquet.json thrift definitions
Richard Westhaver <ellis@rwest.io>
parents: 623
diff changeset
31
      "01cad03be8c042a9941fda5a484280629ee2cc83fe084af6d19376c83141c91b"
849f72b72b41 add back fuzz.lisp and proper codegen for parquet.json thrift definitions
Richard Westhaver <ellis@rwest.io>
parents: 623
diff changeset
32
      "79ab8329f4522beaa2285888d38f6204bb60f324912660d774a412a79e336d6c"
849f72b72b41 add back fuzz.lisp and proper codegen for parquet.json thrift definitions
Richard Westhaver <ellis@rwest.io>
parents: 623
diff changeset
33
      "9ddb83c12595e789e9abd04a5c0705661748776223a794a6f64669352b956e79"
849f72b72b41 add back fuzz.lisp and proper codegen for parquet.json thrift definitions
Richard Westhaver <ellis@rwest.io>
parents: 623
diff changeset
34
      "29a073e66535bad18e11e9bcaa17d7f2d17e4c79f01023e59e9841633915c232"
849f72b72b41 add back fuzz.lisp and proper codegen for parquet.json thrift definitions
Richard Westhaver <ellis@rwest.io>
parents: 623
diff changeset
35
      "587ce9a1a961792114991fd488ef9c3fc37f165f6fea8b89d155640e81d165a3"
849f72b72b41 add back fuzz.lisp and proper codegen for parquet.json thrift definitions
Richard Westhaver <ellis@rwest.io>
parents: 623
diff changeset
36
      "8a3d04fd24afde8333c1437a3ecaa616f121554041a4e7e48f21b28f13b50246"
849f72b72b41 add back fuzz.lisp and proper codegen for parquet.json thrift definitions
Richard Westhaver <ellis@rwest.io>
parents: 623
diff changeset
37
      "4f03e70554a58349740973c69e73aefd8ce761a77b22a9dc52a19e708532084a"
849f72b72b41 add back fuzz.lisp and proper codegen for parquet.json thrift definitions
Richard Westhaver <ellis@rwest.io>
parents: 623
diff changeset
38
      "0a953c81f5798aa99cafbc4aa8a56d16827442400028f6c1eab0c43061ea331c"
849f72b72b41 add back fuzz.lisp and proper codegen for parquet.json thrift definitions
Richard Westhaver <ellis@rwest.io>
parents: 623
diff changeset
39
      "b93039071f490613499b76c237c2624ae67a9aafbc717da9b4d81f456344e56e"
849f72b72b41 add back fuzz.lisp and proper codegen for parquet.json thrift definitions
Richard Westhaver <ellis@rwest.io>
parents: 623
diff changeset
40
      default)))