Commit Graph

2781 Commits

Author SHA1 Message Date
debe3e0dd3 Remove unnused letvar doom--inhibit-reload 2018-05-29 19:39:22 +02:00
bd5ecc1aca Display warning if a non-existent module is in your doom! block 2018-05-29 18:26:39 +02:00
947fe345c3 Minor, general refactor
In some contexts, map-put is superior to add-to-list.
2018-05-29 15:34:13 +02:00
592d83a968 Fix doom//byte-compile not initializing module list in some contexts 2018-05-29 15:32:36 +02:00
456dc62051 Fix compile-time void-function errors from modeline 2018-05-29 15:32:36 +02:00
4863f9fbf0 Fix after! macro with multiple features 2018-05-28 17:31:44 +02:00
f8b9cff4aa Get rid of doom-pre-init-hook 2018-05-28 16:07:11 +02:00
ed5e8849cc Fix void-variable fundamental-mode error from unquoted symbol 2018-05-28 15:50:11 +02:00
61b22c1c7f doom//upgrade: git reset instead of pull + error handling 2018-05-28 15:49:50 +02:00
2dc1be2ce8 Update load! macro docstring 2018-05-28 12:30:27 +02:00
b84946318c No means no
Saying no to a confirmation prompt should abort the refresh process.
2018-05-28 12:23:48 +02:00
c8b21e8cf8 Fix doom//upgrade dirty-tree detection
doom//upgrade refused to upgrade Doom because of unexpected behavior
with vc-state, which unhelpfully returns 'unregistered for unmodified
files. Instead, I manually test for output from git status --porcelain.
2018-05-28 12:20:01 +02:00
376adde0d8 Optimize mode-line segments that are just variables 2018-05-27 22:31:08 +02:00
1a452b6842 💥 Change first arg of load! macro
load!'s first argument is no longer a symbol (that will cause
void-variable errors now) to save on unnecessary interning and simplify
compile-time logic. It accepts any valid form that evaluates to a string
now.

If you use load!, you need to change its argument to a string!

e.g. (load! +my-module) => (load! "+my-module")
2018-05-27 12:52:28 +02:00
bdee28609a New emacs/ediff module
Ediff config was moved out of core. Also includes evil compatibility
(mvoed out of feature/evil) & wconf save/restore.
2018-05-27 12:52:28 +02:00
f3c7dac997 Don't protect visible buffers that start with an asterix 2018-05-26 23:25:57 +02:00
b5ec39f0ec Rewrite (and hopefully fix) doom//upgrade again 2018-05-26 23:25:06 +02:00
1aec48a848 The *real* fix for whitespace-mode interfering with the mu4e sidebar #607 2018-05-26 03:09:53 +02:00
2d6bef33d3 Disable doom|detect-indentation in fundamental or special modes
This should fix #607, which is caused by whitespace-mode messing up the
overlays/text properties in the mu4e sidebar.
2018-05-26 03:06:47 +02:00
9febfb0477 Add fundamental-mode to doom-large-file-modes-list 2018-05-26 03:06:22 +02:00
dc7488df73 Remove package-initialize hack before package commands
Doesn't appear to be necessary anymore.
2018-05-25 19:26:11 +02:00
644dc17e32 Minor refactor of doom-initialize-packages 2018-05-25 19:25:47 +02:00
85c6d06c3f Try to reload doom/package autoloads before before/after doom refresh 2018-05-25 19:25:18 +02:00
06bd3dfccc Improve how reload-doom-autoloads detects your modules have changed 2018-05-25 19:22:44 +02:00
debdb63100 Handle wrong-num-of-args error correctly 2018-05-25 19:22:44 +02:00
e3daf2b818 Improve how reload-package-autoloads detects your packages have changed 2018-05-25 19:22:44 +02:00
74c8df3618 Fix reload-*-autoloads commands not remotely loading byte-compiled autoloads file 2018-05-25 19:22:44 +02:00
068979591a doom//byte-compile: cl-pushnew => push (redundant w/ cl-delete-duplicates) 2018-05-25 19:22:44 +02:00
ef9b30cdef Fix doom//upgrade failing to detect branch & clean *.elc files before updating 2018-05-25 19:22:44 +02:00
5ef1228201 Fix nested length form typos 2018-05-25 19:22:44 +02:00
365201bfcf doom//upgrade: fix void-variable core-file error 2018-05-25 19:22:41 +02:00
4aacd831b5 Fix doom//upgrade (make upgrade) 2018-05-25 12:49:39 +02:00
73045f9950 Fix doom//quickstart & improve feedback (make quickstart) 2018-05-25 12:49:39 +02:00
d7a5f3b997 Fix doom-module-table failing to fetch module list
...because sexp-at-point needs a valid syntax table, and fundamental
mode ain't got one.
2018-05-25 03:07:23 +02:00
2b8efd6783 Error of private init.el doesn't exist (it really should!) 2018-05-25 02:54:16 +02:00
7f31f4a1bd Adjust package state initialization strategies 2018-05-25 02:53:48 +02:00
0368e8f84b Ensure package state is initialized before package management 2018-05-25 02:41:23 +02:00
ef9cea4d11 More aggressive autoloads reloading on install, autoremove, update & refresh 2018-05-25 02:20:28 +02:00
0aa7bf2d4a Insert package state before package autoloads in autoloads file
Prevents issues where autoloads will try to load packages but
`load-path` isn't initialized yet, causing "Cannot open load file"
errors.
2018-05-25 02:18:55 +02:00
d9894f0b74 Fix package install not retrying after a 'bad request' error 2018-05-25 02:16:19 +02:00
2990d5bd58 Fix hash-table-p and format type errors on blank startup 2018-05-25 01:26:24 +02:00
a390ef8deb Reduce doom-module-table calls significantly 2018-05-25 01:17:01 +02:00
11705d0920 Fix void-variable error (let -> let*) 2018-05-25 01:13:28 +02:00
59f70c2a87 Soft-fail if doom-module-table can't find your private init.el 2018-05-25 01:11:53 +02:00
887e3e11af Remove unused printerr! macro 2018-05-25 00:49:03 +02:00
6a140209b8 Optimize Doom core package configs 2018-05-24 23:41:40 +02:00
9e7703db2a core-lib (add-transient-hook!): set permanent-local-hook on hook fn 2018-05-24 22:35:45 +02:00
0b48575c14 Remove def-hydra! macro alias
Causes byte-compilation issues and the alias is unnecessary.
2018-05-24 22:03:19 +02:00
7c611df6a6 Have doom//reload return t on success 2018-05-24 22:01:26 +02:00
dea7c10771 Don't do naive path concatenation for private custom-theme-directory 2018-05-24 21:20:50 +02:00