Commit Graph

6527 Commits

Author SHA1 Message Date
ef154ac033 Merge pull request #672 from mdssjc/clojure-hook-fixed
Clojure hook fixed
2018-06-10 22:26:36 +02:00
1afc5965df add-hook! -> add-hook for one-to-one hook 2018-06-10 22:25:29 +02:00
f387be61e5 Merge pull request #675 from ethercflow/develop
lang/cc: set rtags-install-path to ${doom-etc-dir}/rtags/
2018-06-10 21:57:50 +02:00
6f98aeebfb Don't set doom-init-modules-p from doom-modules
Causes user config to not be loaded if doom-modules is used earlier.
2018-06-10 20:58:00 +02:00
f02156286b Error if autoloads are missing interactively
Trying to regenerate them greatly complicates doom-initialize's
potential use-cases. Keep it simple stupid!
2018-06-10 20:57:14 +02:00
19deb4b926 Fix buffer-read-only: autoloads.el error 2018-06-10 20:55:42 +02:00
5295f36115 case-fold-search = nil in reload-package-autoloads
Slight optimization.
2018-06-10 20:54:32 +02:00
2d5ac8a164 Fix void-variable package--builtins error
Occurs while running make install because package.el wasn't loaded in
time.
2018-06-10 19:15:39 +02:00
85704bea33 Fix void-variable ex2 error while package managing 2018-06-10 19:10:58 +02:00
f144691157 Don't delete autoloads file
Turns out to be more error prone. Better to just ignore the existing one
when force-initializing Doom.
2018-06-10 19:07:37 +02:00
8d4971d02b Remove vestigial reference to doom-module-table 2018-06-10 17:48:48 +02:00
400a4dafdb Revert unit test breakage
This hunk was accidentally committed ahead of time!
2018-06-10 17:36:11 +02:00
9cc190adc9 Minor reformat & refactor keyword intern 2018-06-10 17:28:17 +02:00
fbdbd26851 emacs/term: minor refactor of universal args 2018-06-10 17:28:17 +02:00
2605a3938e Initialize modules conditionally
doom-modules will be initialized on demand in non-interactive sessions.
2018-06-10 17:28:17 +02:00
a87641635f load-prefer-newer = nil for private config
load-prefer-newer = t makes debugging harder and reduces the
predictability of your config.
2018-06-10 17:28:17 +02:00
3498d5c6b1 Catch more *.elc files with bin/doom clean 2018-06-10 17:28:17 +02:00
383ecf7a08 Fix magit rebase/log windows being hidden by diffs 2018-06-10 17:28:17 +02:00
b079db8ec3 Refactor unneeded arg out of local function _load
In doom-initialize-packages.
2018-06-10 17:28:17 +02:00
7e00a83acc Update & refactor doom-info 2018-06-10 17:28:17 +02:00
edb6fd1964 Change how private & disabled packages are marked
They are now included in doom-packages, but with :private t or :disabled
t properties. This allows us to search for them if we wish (e.g. for
doom info).
2018-06-10 17:28:17 +02:00
88f1ae3797 Refactor autoloads init in doom-initialize
Simplify doom-initialize-autoloads
2018-06-10 17:28:17 +02:00
ee154911ae Redesign doom-get-package
Now more useful for filtering packages by certain properties.
2018-06-10 17:28:17 +02:00
01d1a814f9 Refactor doom-initialize functions
Removes doom-module-table; which was inflexible (though more stable). It
prevented you from putting your doom! block in anywhere but
~/.doom.d/init.el.

It is replaced (somewhat) by (doom-modules).
2018-06-10 17:30:26 +02:00
7f31704815 Minor reformatting of org-agenda config 2018-06-10 17:28:17 +02:00
9bd5cb862d Don't set org-agenda-files by default
Leave this to the user
2018-06-10 17:28:17 +02:00
0ec4d6ee43 config/literate: earlier check & no byte-compile
Making the compile check happen earlier fixes an edge case where the
resulting files from a literate config being tangled into multiple files
aren't recognized by Doom's package management or autoload generation
systems.

Disabling byte-compiling fixes an all too common issue where packages
and macros are undefined at compile time, causing a plethora of invalid
function errors.

Leave byte-compilation to `bin/doom compile`!
2018-06-10 17:28:17 +02:00
1e2fc4227a Fix void-variable: package--initialized error 2018-06-10 17:28:17 +02:00
d4869228f5 Inhibit recursive switch-hooks in sub-hooks too 2018-06-10 17:28:17 +02:00
14890376b1 Propagate buffer errors up the call stack
Delegates set-buffer(nil) errors (when switch hooks are called with an
invalid or dead buffer) to the caller to handle.

Fixes #668, #674
2018-06-10 17:28:17 +02:00
Zwb
3ccd459ddb lang/cc: set rtags-install-path to ${doom-etc-dir}/rtags/ 2018-06-10 22:33:26 +08:00
72d87c19c9 bindings: magit | add file-delete as SPC g x 2018-06-09 23:59:52 +02:00
ad5afa1ab2 Fix the hook variable 2018-06-09 13:26:36 -03:00
e88de1692d Don't shadow wakatime-api-key 2018-06-09 23:43:57 +10:00
c3db907204 Fix wakatime breaking emacs if no api-key set 2018-06-09 22:58:45 +10:00
29ea01b772 lang/emacs-lisp: Add +parinfer feature 2018-06-09 21:47:26 +10:00
a0dc6e98c3 Merge pull request #1 from fuxialexander/conda_add
Naming convention and add docs; Avoid conflicting pyenv.
2018-06-09 01:19:03 -05:00
981116d509 Add treemacs to init.example.el 2018-06-09 12:18:16 +10:00
8dbebf6588 Add treemacs to .gitignore 2018-06-09 12:16:53 +10:00
7175c7dffb Add initial treemacs module 2018-06-09 12:16:29 +10:00
dfa955dd2c Better looking default indentation for nested latex lists 2018-06-08 16:10:00 +02:00
4b8ac0ad3d Disable fci-mode in org-mode by default
Too many issues caused by variable font and icon sizes in org-mode (see
2018-06-08 14:29:38 +02:00
dd2d704137 Fix reference to renamed _directory variable
Whoops!
2018-06-08 13:39:04 +02:00
81c465a545 Move OS constants to core/core.el
So it is universally available to all of Doom, rather than excluding
sessions that haven't called doom-initialize interactively.
2018-06-08 13:31:45 +02:00
bc2f8a0ec9 Don't complain about used _directory letvar
Byte-compiler-sama must be appeased.
2018-06-08 13:30:20 +02:00
d008a7e977 Make ui/fci's automatic color change customizable 2018-06-08 13:29:06 +02:00
fb6490288a Disable eshell, pdf, tmux, & upload by default
To enforce Doom's "opt-in or best default" principle.
2018-06-08 13:08:38 +02:00
99d6927e56 Improve error-handling for quelpa packages 2018-06-08 13:08:38 +02:00
426935e4ee Add wakatime/fci to init.example.el 2018-06-08 13:08:38 +02:00
70ce322e99 Add :tools wakatime module 2018-06-08 13:08:38 +02:00