Commit Graph

2556 Commits

Author SHA1 Message Date
61df57b86a Refactor core/autoload/buffers.el 2017-12-30 00:58:58 -05:00
f61d7c9e7f doom-force-kill-buffer => doom/kill-this-buffer-in-all-windows 2017-12-30 00:55:44 -05:00
6279241ec3 More reliable doom|protect-visible-buffers 2017-12-30 00:53:51 -05:00
37a07c79b7 popups: handle :autokill in a kill-buffer-query-fn 2017-12-29 22:30:34 -05:00
0c06514c6f doom-narrow-buffer renamed to doom/narrow-buffer and moved 2017-12-29 22:29:57 -05:00
02c1a78330 Add :skip support for def-test! 2017-12-29 04:17:19 -05:00
a56b2afa46 Refactor all-the-icons disabler advice 2017-12-29 01:46:20 -05:00
5c54f58ff8 protect-visible-buffers: get-buffer-window-list => get-buffer-window
The "current" window is forgotten by the time
doom|protect-visible-buffers runs, so use get-buffer-window (native
C function) to detect if another window housing this buffer exists.
2017-12-29 01:23:05 -05:00
5bd361cbc4 Stop 'Nowhere left to go!' spam; lighten up Emacs! 2017-12-28 22:08:19 -05:00
60e8f6297e doom-kill-buffer: extract protect-visible-buffers logic
Protecting buffers that were visible in other windows (burying them
instead) is not the responsibility of doom-kill-buffer. This is a job
for kill-buffer-query-functions, hence doom|protect-visible-buffers.
2017-12-28 22:06:22 -05:00
ca56d08dd9 Fix stale mode-line after switching buffers 2017-12-28 21:42:33 -05:00
fcadde3ef9 core: refactor & comment 2017-12-28 19:16:22 -05:00
a811c7ff12 core-packages: minor refactor of load! & def-package! 2017-12-28 19:15:50 -05:00
5789fb4511 Don't rerun doom init hooks on doom-reload-hook 2017-12-28 01:02:32 -05:00
8b1f8acc0d Rearrange core config, epa & authinfo bits (fix after! error) 2017-12-27 22:48:05 -05:00
13111ff5c4 Set epa-{file-encrypt-to,pinentry-mode}; no authinfo for sudo via tramp 2017-12-27 20:48:06 -05:00
59846473ca visual-fill-column: account for emacs 26 line numbers 2017-12-27 18:20:58 -05:00
9a71a73538 General, minor refactor 2017-12-27 18:19:33 -05:00
71c0c96b60 Remove unused project-root in doom--cycle-real-buffers 2017-12-27 13:36:20 -05:00
bee9259096 ui/doom-dashboard: add +doom-dashboard-pwd-policy option #309
Gives the user control over how the dashboard's default-directory is
set. The default is to set it to the project root of the last open
buffer.
2017-12-27 13:24:18 -05:00
e024144f4f Add doom-cleanup-hook to doom/cleanup-buffers 2017-12-26 19:27:14 -05:00
89f07f88c5 General & minor refactor 2017-12-23 22:13:48 -05:00
6a0e4bd0db doom-initialize-packages: reinit packages after modules 2017-12-23 16:24:43 -05:00
f9e5ef2b51 Fix recentf not excluding doom-local-dir 2017-12-23 16:15:29 -05:00
9d661ff71e Move ac-php-tags-path & recentf-save-file to doom-cache-dir 2017-12-23 14:30:36 -05:00
a2a5910126 Revise docstring for doom-{etc,cache}-dir 2017-12-23 14:30:17 -05:00
9924a43506 Fix doom-module-pairs returning pairs in arbitrary order
This causes errors because of arbitrary module load order.  This happens
in Emacs 25.x, because hash-table-keys there uses maphash, while in
Emacs 26+ it uses cl-loop.
2017-12-23 03:26:32 -05:00
88a3732ae7 Add doom-project-{find-file,browse} functions 2017-12-23 02:09:40 -05:00
ebd82024e5 Fix doom-fetch & remove --depth 1 2017-12-23 01:47:27 -05:00
d57d0d9305 Better error-handling for missing fonts #301 2017-12-22 23:36:35 -05:00
3bbb78f779 doom//byte-compile: better error handling (revert on error) 2017-12-22 17:05:01 -05:00
7ab8958971 Refactor package management api + remove doom-initialize 2017-12-22 16:26:08 -05:00
9a9f2ce036 Fix make clean printing long, relative paths in output 2017-12-22 16:26:08 -05:00
efc7ec38ae core-packages: general, minor refactor 2017-12-22 16:26:08 -05:00
883c12f860 recentf: use file-truename on all entries + update recentf-exclude 2017-12-22 16:26:08 -05:00
6922fe11fe Refactor doom-initialize-packages 2017-12-22 16:26:08 -05:00
02c14f560d Refactor bootstrap process + add doom-initialize-load-path 2017-12-22 16:26:05 -05:00
a2ab903003 Only reset gc-cons-threshold during user startup 2017-12-22 15:19:23 -05:00
e9f34d8bdb core-package tests: ensure quelpa-dir is set properly 2017-12-22 14:53:17 -05:00
6343e8ad85 (BREAKING) Don't host-namespace local files
Local cache and data files were stored in a parent folder named after
your host, because I'd symlink the same config across computers via
dropbox. This would cause byte-compile issues in packages, so I stopped
doing this.

Now that each computer gets its own clone, host-namespaced local
directories are unnecessary. There's no other benefit to having them.
2017-12-22 14:48:13 -05:00
a5596c8923 Ensure doom-autoload-file directory exists first 2017-12-22 14:30:31 -05:00
98e324b785 Fix 'not installed' errors for built-in packages #288
Caused by doom-package-backend not taking into account that a package
could be built-in. Derp!
2017-12-22 04:02:58 -05:00
34c74d2d5c doom//packages-install: fix skipped cleanup code 2017-12-20 20:10:14 -05:00
4e83cd516c Add unicode symbols to package management output 2017-12-20 20:07:46 -05:00
4af354c693 Fix doom/am-i-secure 2017-12-20 19:57:15 -05:00
1f5de79a57 v2.0.8 bump 2017-12-17 00:03:45 -05:00
4560fe7163 Address (literal) edge cases with hl-line eob fix 2017-12-11 15:23:42 -05:00
e109d72121 Fix hl-line mode bleeding into window in Emacs 26 2017-12-11 13:46:09 -05:00
9320bc7b55 Refactor org-agenda popup integration (prevent load when compiling) 2017-12-10 18:36:25 -05:00
96a232b2ae Rename module library functions in core-packages
+ doom-module-loaded-p => doom-module-enabled-p
+ doom-module-flags => doom-module-get
+ Use load! for module config files, rather than require!
2017-12-10 16:59:10 -05:00