Keating950
54041ad827
simplifying boolean expression
2020-04-17 21:33:45 -04:00
Keating950
1a07ee8269
simplified expression; fixed typo
2020-04-17 19:59:54 -04:00
Keating950
8535318cf4
Update docstring
2020-04-16 19:05:23 -04:00
Keating950
3be5692c77
Respect global whitespace mode config, if set
2020-04-16 19:00:23 -04:00
Henrik Lissner
7a4ad7d343
Disable blink-cursor-mode again #2903
...
New issues with blinking cursors surfaced (see comments), so I am
reverting the second half of be412c8630
.
2020-04-15 14:20:00 -04:00
Henrik Lissner
e4110e01b9
confirm-nonexistent-file-or-buffer = nil
2020-04-15 00:17:16 -04:00
Henrik Lissner
ce333dd178
visible-cursor = nil
...
Half reverts be412c8630
, now that I better understand what it was
for (and have, through some tinkering, managed to reproduce its effect).
2020-04-15 00:13:35 -04:00
Henrik Lissner
be412c8630
Restore blinking cursor default
...
Sure it's distracting, but it's also a good indicator that Emacs hasn't
frozen. Not that Emacs has every frozen on me, but my computer has,
so...
Plus, visible-cursor doesn't do anything on any of the systems,
terminals and shells I've tested, so I'll just leave it to its default.
2020-04-13 22:37:43 -04:00
Henrik Lissner
b78fc4eb76
Minor refactor & reformatting across the board
2020-04-08 15:30:10 -04:00
Henrik Lissner
296cbff097
General, minor refactor & reformatting
2020-03-27 18:06:42 -04:00
Henrik Lissner
273c1e0861
Disable former themes only if new one loaded successfully
2020-03-27 02:49:05 -04:00
Henrik Lissner
53970b3a59
Deprecate prefer-byte-compiled theme optimization
...
This optimization was incorporated into load-theme in Emacs 27+.
2020-03-25 15:48:50 -04:00
Henrik Lissner
0e2c9e8cb0
Disable enabled themes when loading a new one
...
Prevents theme conflicts.
2020-03-25 15:32:32 -04:00
Henrik Lissner
eb69073578
Fix infinite redrawing/freezing with {centaur,awesome}-tabs
...
Caused by over-zealous doom-switch-window-hook.
For my own sanity (and if you're curious), I'll break it down here:
1. Doom has a `doom-switch-window-hook` hook. It triggers when window
focus is changed.
2. We use `buffer-list-update-hook` to trigger
`doom-switch-window-hook`. (That may sound weird, but this hook is
reliably executed when window focus is changed -- there are
safeguards to prevent this from triggering too often)
3. `buffer-list-update-hook` triggers whenever a buffer is created, but
`doom-switch-window-hook` only triggers if the created buffer is in
a new window.
4. The use of `with-temp-buffer` in `centaur-tabs-line-format` counts as
"buffer creation" in a "new window".
5. `+vc-gutter-update-h` is in `doom-switch-window-hook`. This refreshes
git-gutter, which initiates a redraw of Emacs.
6. When Emacs redraws, it recalculates its mode and header lines. which
triggers `doom-switch-window-hook` once, which triggers
`+vc-gutter-update-h`, which redraws the screen, then Emacs recalculates
the header line, running `centaur-tabs-line-format`...
Infinite loop ensues
Hopefully fixes:
- hlissner/doom-emacs#2436
- ema2159/centaur-tabs#18
- ema2159/centaur-tabs#88
2020-02-27 21:47:32 -05:00
Henrik Lissner
900ec70ee3
Ensure menu/tool/scroll bars are disabled
2020-02-21 12:49:57 -05:00
Henrik Lissner
cd2f01e9ab
Set fixed-pitch font too
2020-02-21 01:05:18 -05:00
Henrik Lissner
f7445a10db
General refactor & reformatting across the board
2020-02-18 22:56:47 -05:00
Henrik Lissner
29e4719a7d
Disable GUI elements even if you use chemacs #2354
2020-02-02 02:07:13 -05:00
Henrik Lissner
fd41b1b552
Disable more customize* commands
2020-01-23 01:45:18 -05:00
Henrik Lissner
dc2b9781ab
Minor refactors & reformatting
2020-01-20 01:55:31 -05:00
Henrik Lissner
8c7aaa6468
scroll-conservatively = 101 #2217
2020-01-04 17:12:09 -05:00
Henrik Lissner
f78f71a74c
Minor refactors & comment revision
2020-01-01 23:52:02 -05:00
Henrik Lissner
6f951229ec
Add & revise comments
...
And move line number hooks to core/autoload/ui.el
2019-12-31 15:55:56 -05:00
Henrik Lissner
6e84ab0673
Fix doom-init-menu-bar-in-gui-frames-h #2156
...
window-setup-hook doesn't pass an argument.
2019-12-22 00:37:33 -05:00
Henrik Lissner
4faa4e22f9
Disable all-the-icons for tty users or tty frames #2200
2019-12-21 23:30:04 -05:00
Henrik Lissner
b53703d527
General comment revision & reformatting
2019-12-21 15:01:05 -05:00
Henrik Lissner
3583e1f2e0
Re-enable menu-bar-lines for GUI frames on MacOS #2156
2019-12-21 14:56:56 -05:00
Henrik Lissner
95bea5b95b
Disable hl-line when non-evil selection is active
...
This was already the case for evil users, now it is the case for
non-evil users.
2019-12-21 01:38:15 -05:00
Henrik Lissner
74e1143ac0
Don't disable all-the-icons in tty Emacs
...
Too much hassle to police. I'll leave it to users to disable.
2019-12-20 21:48:35 -05:00
Henrik Lissner
a999a0ddd6
General refactors & comment revision
2019-12-19 14:51:34 -05:00
Henrik Lissner
11acc30400
Half-revert c522ca4fc
...
Closes #2200
2019-12-16 19:01:27 -05:00
Henrik Lissner
160462d33d
Refactor doom--switch-to-fallback-buffer-maybe-a
...
Reduce technical debt by future proofing the advice.
2019-12-15 23:43:33 -05:00
Henrik Lissner
c522ca4fc0
Minor refactors & cleanup
2019-12-15 15:53:28 -05:00
Henrik Lissner
9eaa6ce194
display-line-numbers-widen = t
2019-12-15 15:52:28 -05:00
Henrik Lissner
8f77c41a48
font-use-system-font = t if no font is set
2019-11-28 15:35:30 -05:00
Henrik Lissner
b665e31bcb
Restore mode-line help-echo properties
...
And moved it to my private config.
2019-11-25 02:10:51 -05:00
Henrik Lissner
d873e75e63
Disable M-x customize & M-x customize-themes
2019-11-21 14:21:56 -05:00
Henrik Lissner
c7ddcefba9
core: use-package!->after! where former is unnecessary
2019-11-18 14:18:18 -05:00
Henrik Lissner
99cd52e70f
💥 Drop Emacs 25.x support
...
Emacs 26.1 is Doom's new minimum supported version
Closes #2026
2019-11-08 16:02:06 -05:00
Henrik Lissner
6549a4f982
Fix pre-existing font frame parameter being overwritten
2019-10-29 01:10:24 -04:00
Henrik Lissner
c360f0dceb
Minor refactor & comment/docstring revision
2019-10-26 23:44:28 -04:00
Henrik Lissner
ee80ed680c
Defer evaluation of custom-set-faces!'s arguments
...
...until the theme has first loaded.
You'll need to set `doom-theme` to nil if you want to use this macro
without a theme!
2019-10-24 19:43:10 -04:00
Henrik Lissner
80532921bb
Highlight urls in buffers as links
2019-10-18 21:23:02 -04:00
Henrik Lissner
f9e25f95a8
show-paren-when-point-in-periphery = t
2019-10-18 21:10:56 -04:00
Henrik Lissner
d987a81b33
auto-window-vscroll = nil
2019-10-18 17:23:47 -04:00
Henrik Lissner
0fe576d104
Add more names to winner-boring-buffers
2019-10-10 16:11:42 -04:00
Henrik Lissner
342d7f8f12
Minor reformatting & comment revision
2019-09-22 11:59:53 -04:00
Henrik Lissner
17174e1437
Improve font/theme init for daemon sessions
2019-09-20 19:47:42 -04:00
Henrik Lissner
abc9b9a84f
Apply fonts to all existing frames
...
As well as all future frames.
2019-09-20 18:14:23 -04:00
Henrik Lissner
2d365619cd
General refactor & cleanup, across the board
2019-09-13 22:00:34 -04:00