Commit Graph

7221 Commits

Author SHA1 Message Date
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
e918040e70 Add :ui fci module for fill-column-indicator 2018-06-08 13:08:38 +02:00
56b4cba964 Fix solium error preventing solidity-mode #659
Now conditionally activates flycheckers using the existence of their
binaries at load time.
2018-06-08 13:08:37 +02:00
ab98020295 Optimize buffer normalization in switch hooks
get-buffer is faster than window-normalize-buffer-to-switch-to.
2018-06-08 13:08:37 +02:00
99afb01315 equals -> file-equal-p refactor
Use more reliable file comparison function.
2018-06-08 13:08:37 +02:00
ee262e7737 Refactor error handling in package management API
I am hoping this will improve the ambiguous errors that originate from
package.el or quelpa.el.
2018-06-08 13:08:34 +02:00
7e7b6fd8a6 Merge pull request #664 from UndeadKernel/fix_latex-C-g
Fix latex C-g quitting latex after opening the reftex table of contents
2018-06-08 00:01:06 +02:00