Commit Graph

4477 Commits

Author SHA1 Message Date
09f7db43be Be explicit about fc-list when listing fonts 2020-01-06 14:22:18 +08:00
4f7217719a Merge pull request #2301 from wnikola/patch-1
Fix typo in env.el
2020-01-05 20:10:32 -05:00
5862c4e4d8 Merge pull request #2311 from rubas/patch-1
Typo pnned -> pinned
2020-01-05 20:08:29 -05:00
fe57256d6b Minor refactors; reduce sp-max-prefix-length 2020-01-05 19:58:59 -05:00
326035199b Typo 2020-01-05 12:52:14 +01:00
f26b148b2b Use my fork of ws-butler 2020-01-04 18:11:10 -05:00
cf04a44ca7 Refactor comment/string check in autoloads generator 2020-01-04 17:13:05 -05:00
1c237106aa Don't pollute module help warnings with text props 2020-01-04 17:12:49 -05:00
8c7aaa6468 scroll-conservatively = 101 #2217 2020-01-04 17:12:09 -05:00
ae5cf1889b Move custom-file to {doom-local-dir}/custom.el 2020-01-04 17:10:56 -05:00
a2eee97c9d undo-tree-{visualizer,auto-save-history} = t 2020-01-04 16:26:28 -05:00
13be4fa178 Fix doom/sudo-save-buffer
Trying to open a buffer named after the filename, rather than opening
the file and returning a buffer.
2020-01-04 04:57:58 -05:00
e0b8b4f190 Fix set-pretty-symbols! not merging properties w/ old rules
This removes the :merge property, as merging is now its default
behavior.
2020-01-04 04:55:57 -05:00
f9b3ad2bb1 Fix typo in env.el 2020-01-03 21:42:14 +01:00
11676b0153 Fix #2299: void-function sp-point-in-string during 'doom refresh'
Due to use of third-party code before it is installed. Since we can be
sure that elisp has a sane syntax-table we do not need sophisticated
comment/string detection.
2020-01-03 05:22:10 -05:00
63d42c97bc Pass POS to sp-point-in-string
And doom-point-in-string-or-comment-p is no longer side-effect-free, due
to sp-point-in-* caching syntax-ppss.
2020-01-03 05:22:10 -05:00
5495922a20 Resolve symlinks in doomdir slot for doom/info 2020-01-03 05:22:10 -05:00
8ff15c2aeb Optimize doom-point-in-*-p functions
Since we won't be dumping smartparens just yet, use it for now.
2020-01-03 02:44:29 -05:00
8857dc1a5e Add doom-point-in-{comment,string}-functions
Fixes #2297
2020-01-03 02:40:50 -05:00
27bf3c85b5 Generalize thing-at-point & region functions 2020-01-03 02:39:47 -05:00
195dfda045 Minor refactors & comment revision 2020-01-02 21:16:02 -05:00
da8bce53bc Enable smartparens-mode during pp-eval-expression 2020-01-03 00:21:01 +08:00
4d64021980 Merge pull request #2270 from facelesspanda/patch-1
docs/core: fix typo in `featurep!` docstring
2020-01-02 00:04:39 -05:00
f78f71a74c Minor refactors & comment revision 2020-01-01 23:52:02 -05:00
fd6def4d5a Fix letenv! macro
It didn't work due to over-aggressive quoting of the let-vars.
2020-01-01 23:48:36 -05:00
8f5977d9b8 Fix #2282: save-interprogram-paste-before-kill = nil
Seems more problematic than helpful to manipulate Emacs' kill-ring more
than we have to.
2020-01-01 21:24:06 -05:00
29773baa55 Add 'doom sync' as an alias for 'doom refresh'
'sync' more accurately describes the purpose of the command. 'refresh'
is now soft-deprecated; but I will phase it out of the documentation
and promote 'sync' instead, but it won't be removed.
2020-01-01 21:19:21 -05:00
2ef0ed90a4 Fix C-a/C-e #1802
Fixes two issues:
1. Where C-e would throw the cursor somewhere on another line (or at
   BOF).
2. Fixes #1802; where the cursor would stop a character shy of true
   end-of-text.
2020-01-01 21:19:21 -05:00
f0e05c1a44 Fix C-w in ivy not moving up directory
And ensure C-w doesn't affect kill-ring from minibuffer.
2020-01-01 19:58:52 -05:00
5929e5b75a Add undefadvice! macro for rotate-text convenience 2020-01-01 19:34:33 -05:00
7a348f8784 Refactor how we indent straight's progress output
More work up front, less work in the trenches.
2020-01-01 19:34:30 -05:00
4f676bd218 Refactor autoload generator bootstrappers 2020-01-01 13:31:40 -05:00
4a53f0818d Don't insert autoloads literally #2281
It causes encoding issues.
2020-01-01 03:02:05 -05:00
445ba1a46d Minor refactors & comment revision across the board 2019-12-31 19:18:02 -05:00
6f951229ec Add & revise comments
And move line number hooks to core/autoload/ui.el
2019-12-31 15:55:56 -05:00
b592e58c97 Fix warning when disabling core packages 2019-12-31 14:10:52 -05:00
a5fc782e76 cli/upgrade: fix wrong-type-arg string force file error #2277
Due to a vestigial call to the old doom-cli-reload-package-autoloads
2019-12-31 03:38:47 -05:00
9012635d3f Remove default doom-variable-pitch-font in config.el template
"sans" may not be available.
2019-12-31 02:27:31 -05:00
7c968a8b11 Fix #2278: autoload gen skipping disabled autodefs
If a ;;;###if module cookie returned nil for a file, it should still
allow autodefs to be scraped from it, which wasn't happening before this
fix.

An autodef's guarantee is that it will always be defined, whether or not
the containing module is enabled.
2019-12-30 23:19:56 -05:00
960d756b47 General, minor refactors 2019-12-30 18:23:56 -05:00
10f29bffde Add chemacs support to doom/restart-and-restore 2019-12-30 18:07:37 -05:00
a4653f475b Print filename instead of absolute paths for purged ELPA packages 2019-12-30 17:28:31 -05:00
f8ed1894e7 Strip text properties from recentf entries
Causing tremendous bloat in recentf lists included with TRAMP paths.
2019-12-30 17:07:39 -05:00
0b1ab39a00 Refactor doom-cli--generate-autoloads 2019-12-30 17:06:49 -05:00
497a6a206e Fix 'wrong-number-of-arguments autoload 9' error in autoloads
This error was caused by over-aggressive replacement of load-file-name
in autoloads files.

Instances of "load-file-name" would be replaced with a quoted file-path,
even in strings and comments, which would break surrounding strings and
docstrings.

Mentioned in hlissner/doom-emacs@f8ff505
2019-12-30 15:52:38 -05:00
908bd4b945 Remove FORCE-P argument for doom-cli-reload-autoloads
We weren't using them anyway.
2019-12-30 06:44:16 -05:00
bfce00d0b4 Don't use so-long if it's been disabled 2019-12-30 05:27:25 -05:00
0ec1355f13 docs/core: typo in featurep! docs
`s/moduel/module`
2019-12-30 09:35:53 +01:00
f8ff50565e Refactor autoload generator
- Halves LOC
- Adopts functional paradigm where possible.
- Reduces the filesize of autoloads files by ~10-20%
- Speeds up autoloads generation by ~20%
2019-12-29 22:20:48 -05:00
b63ce98731 Add benchmark hook & restore switch earlier
If the user wants to remove them for some reason.
2019-12-29 18:47:12 -05:00