about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2020-11-27 12:18:42 -0600
committerCase Duckworth2020-11-27 12:18:42 -0600
commit84a4b2a912115ad68d30b8b9bde253fb01eb04fe (patch)
tree5f9cf4273f6678954372af4211e5e68df4bec35e
parentAdd eds (diff)
parentAdd 'edit' script (diff)
downloademacs-84a4b2a912115ad68d30b8b9bde253fb01eb04fe.tar.gz
emacs-84a4b2a912115ad68d30b8b9bde253fb01eb04fe.zip
Merge branch 'master' of https://git.sr.ht/~acdw/.emacs.d
-rw-r--r--config.org19
1 files changed, 11 insertions, 8 deletions
diff --git a/config.org b/config.org index bccd23f..1404afc 100644 --- a/config.org +++ b/config.org
@@ -1,6 +1,6 @@
1#+TITLE:Emacs configuration, literate style 1#+TITLE:Emacs configuration, literate style
2#+AUTHOR:Case Duckworth 2#+AUTHOR:Case Duckworth
3#+PROPERTY: header-args :tangle init.el 3#+PROPERTY: header-args :tangle init.el :comments both
4#+EXPORT_FILE_NAME: README.md 4#+EXPORT_FILE_NAME: README.md
5#+OPTIONS: toc:nil 5#+OPTIONS: toc:nil
6#+OPTIONS: title:t 6#+OPTIONS: title:t
@@ -10,8 +10,7 @@ This is my Emacs configuration. It's also a literate =org-mode= file. Yeah, I'
10 10
11* About me 11* About me
12 12
13#+begin_src emacs-lisp 13#+begin_src emacs-lisp :shebang ";; init.el -*- lexical-binding: t -*-"
14 ;; init.el -*- lexical-binding: t -*-
15 (setq user-full-name "Case Duckworth" 14 (setq user-full-name "Case Duckworth"
16 user-mail-address "acdw@acdw.net") 15 user-mail-address "acdw@acdw.net")
17#+end_src 16#+end_src
@@ -22,7 +21,7 @@ Copyright © 2020 Case Duckworth <acdw@acdw.net>
22 21
23This work is free. You can redistribute it and/or modify it under the terms of the Do What the Fuck You Want To Public License, Version 2, as published by Sam Hocevar. See the =LICENSE= file, tangled from the following source block, for details. 22This work is free. You can redistribute it and/or modify it under the terms of the Do What the Fuck You Want To Public License, Version 2, as published by Sam Hocevar. See the =LICENSE= file, tangled from the following source block, for details.
24 23
25#+begin_src text :tangle LICENSE 24#+begin_src text :tangle LICENSE :comments no
26 DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE 25 DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
27 26
28 Version 2, December 2004 27 Version 2, December 2004
@@ -117,11 +116,8 @@ It's highly likely that the WTFPL is completely incompatible with the GPL, for w
117 116
118* Early initiation 117* Early initiation
119 118
120#+begin_src emacs-lisp :tangle early-init.el 119#+begin_src emacs-lisp :tangle early-init.el :shebang ";; early-init.el -*- lexical-binding: t; no-byte-compile: t -*-"
121 ;; early-init.el -*- lexical-binding: t; no-byte-compile: t -*-
122
123 (setq load-prefer-newer t) 120 (setq load-prefer-newer t)
124
125#+end_src 121#+end_src
126 122
127** Increase the garbage collector 123** Increase the garbage collector
@@ -1200,3 +1196,10 @@ from [[https://github.com/alphapapa/unpackaged.el#org-return-dwim][unpackaged.el
1200 (use-package bongo 1196 (use-package bongo
1201 :commands 'bongo) 1197 :commands 'bongo)
1202#+end_src 1198#+end_src
1199
1200* Appendix A: ~edit~ script
1201
1202Here's a wrapper script that'll start =emacs --daemon= if there isn't one, and then launche =emacsclient= on the arguments. I'd recommend installing with ~ln -s edit ~/.local/bin/~ or something.
1203
1204#+begin_src sh :shebang "#!/bin/sh" :tangle edit
1205#+end_src