summaryrefslogtreecommitdiff
path: root/.emacs.d
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-07-21 14:58:22 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-07-21 16:06:20 -0700
commitea323b9be0e5490684f7681eed64340cda1ee2f9 (patch)
tree093f9fc4600dbb59c63ff2efcc21225f23773fe0 /.emacs.d
parentb330ab646aed48ebc0913d23aeb40742907065e0 (diff)
downloaddotfiles-ea323b9be0e5490684f7681eed64340cda1ee2f9.tar.gz
archive ~/.emacs.d bytecompilation
I am now often running a development build of Emacs, in which case bytecompile-emacs-d's method of determining whether a rebuild is required is too simple to ensure we rebuild often enough.
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/Makefile27
-rw-r--r--.emacs.d/init.el7
2 files changed, 0 insertions, 34 deletions
diff --git a/.emacs.d/Makefile b/.emacs.d/Makefile
deleted file mode 100644
index f8401614..00000000
--- a/.emacs.d/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-ELC := $(filter-out init.elc,$(patsubst %.el,%.elc,$(wildcard *.el */*.el)))
-
-EMACSOPT := --eval '(add-to-list (quote load-path) (concat user-emacs-directory "site-lisp"))'
-EMACSOPT += --eval '(add-to-list (quote load-path) (concat user-emacs-directory "initlibs") t)'
-EMACSOPT += -l package -f package-initialize
-
-.PHONY: all
-all: $(ELC)
-
-# permit the use and setting of undeclared variables and functions: this is
-# appropriate for user init files, I think, though not for arbitrary .el libs
-# under ~/.emacs.d
-init-%.elc: init-%.el
- emacs -batch $(EMACSOPT) \
- --eval '(setq byte-compile-warnings (quote (not free-vars unresolved)))' \
- -f batch-byte-compile $<
-notmuch-groups.elc: notmuch-groups.el
- emacs -batch $(EMACSOPT) \
- --eval '(setq byte-compile-warnings (quote (not free-vars)))' \
- -f batch-byte-compile $<
-
-%.elc: %.el
- emacs -batch $(EMACSOPT) -f batch-byte-compile $<
-
-.PHONY: clean
-clean:
- rm -f $(ELC)
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 5f0801d9..1e9f80ed 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -1,12 +1,5 @@
;;; init.el --- bootstrap Sean's Emacs configuration -*- no-byte-compile: t -*-
-;;; Commentary:
-
-;; This file is not bytecompiled primarily because when it is loaded
-;; `load-prefer-newer' has not yet been set. Most personal config
-;; should go into one of the bytecompiled files inside ~/.emacs.d
-;; rather than here.
-
;;; Code:
;; don't accept invalid SSL certs or small primes