Commit graph

2581 commits

Author SHA1 Message Date
Henrik Lissner
2364e97285
Fix switch-window hooks when switching with the mouse
And moved it to ui/nav-flash, which is what this code was introduced to
fix in the first place!
2018-03-27 02:50:40 -04:00
Henrik Lissner
b685baeb64
Fix the package! macro's :disable property 2018-03-27 02:49:19 -04:00
Henrik Lissner
fea7c0a661
Minor revision of package!'s docstring 2018-03-26 18:15:03 -04:00
Henrik Lissner
040fedfeaf
Remove defunct tramp advise 2018-03-26 18:14:00 -04:00
Henrik Lissner
bc7c992f43
Merge pull request #482 from UndeadKernel/fix_whitespace-line-column
Let whitespace dynamically use fill-column
2018-03-26 17:10:28 -04:00
Henrik Lissner
fa69e25f87
Fix a pre-init race condition caused by doom-initialize-packages 2018-03-26 16:52:53 -04:00
Henrik Lissner
adf724a6e4
Refactor package!'s docstring & add :ignore to it 2018-03-26 16:44:32 -04:00
Henrik Lissner
dd24578657
Restore :ignore property in package! macro 2018-03-26 16:32:05 -04:00
UndeadKernel
856dd96636 Whitespace should preferably respect the fill-column variable
Let whitespace dynamically set `whitespace-line-column` depending on the current
state of the variable `fill-column`. Changing the value to `nil` does exactly that.
2018-03-26 18:17:59 +02:00
Henrik Lissner
f3b99779c9
Add doom-after-switch-frame-hook; fix over-eager switch-window hooks
Switch-window hooks would fire too frequently; like when switching to
the same window, clicking in windows, or from the minibuffer (e.g.
during ivy sessions).
2018-03-26 06:40:04 -04:00
Henrik Lissner
1282072db3
Correct doom-initialize's docstring 2018-03-26 03:18:28 -04:00
Henrik Lissner
adfd26bbf4
Fix error when doom-packages-file doesn't exist 2018-03-26 03:11:29 -04:00
Henrik Lissner
72eb1422c5
Ensure doom-packages is initialized in doom-initialize 2018-03-26 03:07:28 -04:00
Henrik Lissner
03ed4c39e8
Add package! & disable-packages! convenience macros 2018-03-26 02:59:08 -04:00
Henrik Lissner
f67b4ec743
Add docstring for doom-module-put 2018-03-26 02:58:11 -04:00
Henrik Lissner
21a23228f2
Refactor initialization; allow package! to universally disable packages
No need for def-package-hook! for disable packages anymore, you can do
it from package! in packages.el files.
2018-03-26 02:57:37 -04:00
Henrik Lissner
22e18ad0a6
core-os: remove unnecessary after! wrapping 2018-03-25 03:07:18 -04:00
Henrik Lissner
57065c4a71
Don't prompt to save for non-file-visiting buffers on kill-this-buffer 2018-03-24 17:05:06 -04:00
Henrik Lissner
5eadfdc880
Add EMACS26+ & EMACS27+ constants 2018-03-24 07:25:00 -04:00
Henrik Lissner
b5db4f1fb6
Debug log missing modules; remove log! macro 2018-03-24 07:25:00 -04:00
Henrik Lissner
326763ab3d
doom/cleanup-processes => doom/cleanup-buffer-processes 2018-03-23 16:01:46 -04:00
Henrik Lissner
f064c5d1ae
Change doom/kill-all-buffers behavior (C-u = only kill project buffers) 2018-03-23 16:01:35 -04:00
Henrik Lissner
21f8b6933b
Remove unused minibuffer/system libraries
They aren't necessary anymore
2018-03-23 02:37:15 -04:00
Henrik Lissner
24043d9bfd
Silence beginning/end-of-line/read-only errors on motions in minibuffer 2018-03-23 02:29:17 -04:00
Henrik Lissner
bc6000a731
Refactor doom//reload-theme; remove obsolete hooks 2018-03-22 23:26:58 -04:00
Henrik Lissner
f8801640ba
Mention :leader/:localleader in map! docstring 2018-03-22 21:15:07 -04:00
Henrik Lissner
9f2a94c25a
Only init fonts once, and for any (tty/gui) session 2018-03-22 19:32:08 -04:00
Henrik Lissner
4fc2897372
core-ui: define doom-*-switch-*-hooks & minor refactor
doom-init-theme-hook is now obsolete; to be replaced with
doom-load-theme-hook.
2018-03-22 19:26:13 -04:00
Henrik Lissner
358d7af9ac
doom/kill-all-buffers: reduce redundancy 2018-03-22 06:31:16 -04:00
Henrik Lissner
abe42fcb9a
Give config/default keybinds higher precedence
This is highly experimental! It gives keybinds bound with `map!` much
higher precedence, allowing it to override the defaults imposed by
major modes and plugins (like evil-collection).
2018-03-22 06:28:33 -04:00
Henrik Lissner
3001e59ecc
Don't destroy load-path on reload 2018-03-22 06:28:33 -04:00
Henrik Lissner
da92423e40
Inhibit doom/escape on ESC while executing macros #471 2018-03-21 15:11:52 -04:00
Henrik Lissner
51b5fb0f44
Add missing modes to editorconfig-indentation-alist 2018-03-21 05:19:01 -04:00
Henrik Lissner
dec3ecba6e
package--initialized = nil in doom-initialize; in case of reloads 2018-03-20 21:12:49 -04:00
Henrik Lissner
afdf2047a7
Improve error handling in doom/info 2018-03-20 20:45:16 -04:00
Henrik Lissner
3777474471
Don't remove projectile-root-local from root file functions
Doesn't do anything for the cache.
2018-03-20 03:39:03 -04:00
Henrik Lissner
ab180cd51e
Preselect last command in menus; reverse universal arg behavior
+ The universal argument tells a menu to use the last run command, if
  available.
+ If a last run command exists, preselect it in the menu.
2018-03-19 02:02:52 -04:00
Henrik Lissner
1b5758a6da
Minor refactor 2018-03-18 03:36:05 -04:00
Henrik Lissner
2a45b80e2a
Revert cfe2fe87; needs better checks 2018-03-15 04:49:49 -04:00
Henrik Lissner
c760b33212
Fix recursive load errors when an enabled module doesn't exist 2018-03-14 21:21:58 -04:00
Henrik Lissner
c54fb7b8c0
Fix package advice interfering with doom-initialize
...by aggressively reloading the config from within doom-initialize (too
early, some state hasn't been initialized at this point).
2018-03-14 20:12:15 -04:00
Henrik Lissner
8898c5cb9a
Fix void-function doom*initialize-packages error
Occurs before autoloads are generated.
2018-03-14 19:52:25 -04:00
Henrik Lissner
dac0307a80
Rewrite menu system
On consecutive runs, def-menu dispatchers now rerun the last command,
unless the universal argument is passed. e.g. SPC u SPC m b

The :cwd and :project properties now accept functions (take no arguments
and return a directory or boolean).
2018-03-14 19:03:32 -04:00
Henrik Lissner
ce091ddde6
Improve reliability of 'nocache & without-project-cache! macro 2018-03-14 18:29:16 -04:00
Henrik Lissner
1352ac4553
Exclude images and remote files from recentf 2018-03-14 18:28:48 -04:00
Henrik Lissner
aec4fbe590
Always apply ansi color codes to compilation buffers 2018-03-14 18:28:25 -04:00
Henrik Lissner
cfe2fe87d9
Reduce screen flicker when creating a new frame
...by only reloading the theme if the new frame is of a different type
from the last (tty and GUI frames).
2018-03-14 18:26:59 -04:00
Henrik Lissner
cdbd677423
Allow use of package.el #444
This makes package.el commands safe to use in Doom, and prevents errors
caused by unitialized state, by running package-initialize before
you use a package.el command.
2018-03-14 18:25:25 -04:00
Henrik Lissner
ccaf5eabbd
Fix switch-window hooks; add switch-buffer hooks 2018-03-14 04:52:09 -04:00
Henrik Lissner
44d30ca3ce
Fix doom-active-minor-modes 2018-03-14 04:49:14 -04:00