aboutsummaryrefslogtreecommitdiff
path: root/.config/emacs/early-init.el
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2025-07-08 17:50:42 +0200
committerMiquel Sabaté Solà <mikisabate@gmail.com>2025-07-08 17:50:42 +0200
commit848892b8d40c033d95701e95a1e54e41bf4101b5 (patch)
treefa775b56dd0870a8024bafaf9f9f4cfbcf63e35f /.config/emacs/early-init.el
parentdff8954955dec398a5158e2bfd668a5b5a40cbcc (diff)
downloaddotfiles-848892b8d40c033d95701e95a1e54e41bf4101b5.tar.gz
dotfiles-848892b8d40c033d95701e95a1e54e41bf4101b5.zip
emacs: There and back again
Bring back a hand-rolled GNU Emacs configuration, moving on from Doom Emacs. This is due some recent regressions I've had with my Doom configuration that I was unable to debug/fix. This brings back some much needed simplicity, while having better knowledge on how to keep things modern and snappy. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to '.config/emacs/early-init.el')
-rw-r--r--.config/emacs/early-init.el17
1 files changed, 17 insertions, 0 deletions
diff --git a/.config/emacs/early-init.el b/.config/emacs/early-init.el
new file mode 100644
index 0000000..92eac3d
--- /dev/null
+++ b/.config/emacs/early-init.el
@@ -0,0 +1,17 @@
+;; Copyright (C) 2016-Ω Miquel Sabaté Solà <mikisabate@gmail.com>
+;;
+;; This program is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+;;
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+;;
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+;; Prevent package.el loading packages prior to their init-file loading.
+(setq package-enable-at-startup nil)