Commit graph

840 commits

Author SHA1 Message Date
Zhu Zihao
c8d2556483 When if-let* or when-let* was defined, don't do alias for it.
Some package may alias it (or define a enhance version) before the loading of
`doom-modeline`

Use `eval-and-compile`, allow byte-compiler see through the form, is better than
using `with-no-warnings` to suppress it rigidly.
2019-07-16 05:59:55 +08:00
Vincent Zhang
bdbf45e690 Make enable-var and exc-var to customizations in doom-modeline-def-env. 2019-07-15 03:18:59 +08:00
Vincent Zhang
bb3f24c375 Update the customization group doom-modeline-env. 2019-07-15 03:02:51 +08:00
Vincent Zhang
165c864d46 Update customization examples in README. 2019-07-15 02:46:14 +08:00
Vincent Zhang
d66c803d3a Add customization group: doom-modeline-faces. 2019-07-15 02:34:54 +08:00
Vincent Zhang
ce874ebc1d Add customization group: doom-modeline-env. 2019-07-15 02:34:34 +08:00
Vincent Zhang
7541c31846 Bump version to 2.4.0. 2019-07-15 01:42:40 +08:00
Vincent Zhang
10b7e92152 Make variables to customizations. 2019-07-15 01:41:48 +08:00
Vincent Zhang
015b692d2b Don't display debug icon after the debug session is terminated. 2019-07-13 01:52:22 +08:00
Vincent Zhang
fed2b288dd Refactor: use quote instead of unnecessary backquote. 2019-07-13 00:55:05 +08:00
Vincent Zhang
324ab847a2 Align right segments after scaling font of the mode-line. 2019-07-09 01:53:37 +08:00
Vincent Zhang
ce7c1006eb Improve: calculate font height. 2019-07-08 23:51:54 +08:00
Vincent Zhang
02e50cfb60 Bump version to 2.3.8. 2019-07-07 13:53:29 +08:00
Vincent Zhang
6b8d4c9719 Update README. 2019-07-07 13:46:05 +08:00
Vincent Zhang
fd52978a97 Improve icons for the persp-name segment. 2019-07-02 14:07:21 +08:00
Vincent Zhang
24fd535a69
Merge pull request #190 from justfdot/master
Add icon for persp-name segment
2019-07-02 13:34:09 +08:00
JustFdot
fe29b82625 Add icon for persp-name segment 2019-07-01 23:23:33 +05:00
Vincent Zhang
6069a6fb22 Update FAQ.
For #189.
2019-07-01 22:09:08 +08:00
Vincent Zhang
911ddd89aa Bump version to 2.3.6. 2019-07-01 19:48:15 +08:00
Vincent Zhang
1c092cbd17 Optimize doom-modeline--font-height. 2019-07-01 19:47:47 +08:00
Vincent Zhang
68362f248e Fix: Wrong type argument: number-or-marker-p, unspecified. 2019-07-01 19:42:41 +08:00
Vincent Zhang
2bf802e7f5 Optimize: calculate font height of mode-line.
Use face-attribute instead of frame-char-height.
Close #189.
2019-07-01 18:50:09 +08:00
Vincent Zhang
7d8ec424c8 Change doom-modeline--font-height to function.
See @187.
2019-07-01 18:00:41 +08:00
Vincent Zhang
ee4619d367 Optimize lsp segment. 2019-06-29 01:21:43 +08:00
Vincent Zhang
24d30ccc1e Format codes. 2019-06-27 17:42:31 +08:00
Vincent Zhang
4befbbbdce Fix: Wrong number of arguments in info-nodes segment. 2019-06-27 03:48:10 +08:00
Vincent Zhang
2360bd543c Ignore unhandled errors in after-change-functions.
Close #184.

If an unhandled error happens in running these functions,
the variable’s value remains nil.  That prevents the error
from happening repeatedly and making Emacs nonfunctional.
2019-06-26 23:12:14 +08:00
Vincent Zhang
944148526f Revert "Make after-change-functions to buffer-local hook."
This reverts commit bafe20a171.
2019-06-26 22:55:46 +08:00
Vincent Zhang
bafe20a171 Make after-change-functions to buffer-local hook.
Close #184.

If an unhandled error happens in running these functions,
the variable’s value remains nil.  That prevents the error
from happening repeatedly and making Emacs nonfunctional.
2019-06-26 17:27:13 +08:00
Vincent Zhang
c12ba0edfc Update font height. 2019-06-25 17:57:40 +08:00
Vincent Zhang
e470ca8622 Optimize debug segment. 2019-06-24 14:22:07 +08:00
Vincent Zhang
d179593c7a Bump version to 2.3.5. 2019-06-24 14:17:12 +08:00
Vincent Zhang
7a29c27b55 Refactor debug segment. 2019-06-24 14:13:08 +08:00
Vincent Zhang
34b23b3e25 Optimize debug segment. 2019-06-23 23:48:24 +08:00
Vincent Zhang
1a77ba0690 Improve: update lsp status. 2019-06-14 16:27:26 +08:00
Vincent Zhang
3ab88cb57c Make lsp state as buffer local. 2019-06-14 00:52:18 +08:00
Vincent Zhang
6293c63924 Fix #185: doom-modeline breaks query-replace. 2019-06-10 16:03:48 +08:00
Vincent Zhang
118f7084ff Revert: Refresh the mode-line forcedly after switching frames.
Revert 62f48c062e.
Close #186.
2019-06-10 15:41:13 +08:00
Vincent Zhang
28ca62c735 Update the matches segment.
The args of symbol-overlay-get-symbol are changed in e40a7c407f.
2019-06-08 18:49:20 +08:00
Vincent Zhang
62f48c062e Refresh the mode-line forcedly after switching frames. 2019-06-06 18:21:04 +08:00
Vincent Zhang
94ddb2f68b Use hooks instead of advices. 2019-06-06 17:28:34 +08:00
Vincent Zhang
ae0ecddd31 Fix: sometimes the persp name is not updated. e.g. other-window. 2019-06-06 17:11:26 +08:00
Vincent Zhang
5e8b134b5b Update README. 2019-06-06 01:33:42 +08:00
Vincent Zhang
33284e5d9a Enable and disable colorful major icons.
Close #182.
2019-06-04 22:58:24 +08:00
Vincent Zhang
59c81a0d81 Fix #180: Error for TRAMP python in doom-modeline-env. 2019-05-31 22:04:16 +08:00
Vincent Zhang
97dba610f8 Fix #180: Error for TRAMP python in doom-modeline-env.
Check if the env command exists.
2019-05-31 13:47:08 +08:00
Vincent Zhang
b0e61befc9 Remove unused codes. 2019-05-30 13:55:11 +08:00
Vincent Zhang
f524bbc622 Fix #178: "Error during redisplay" when org agenda mode is enabled. 2019-05-29 13:39:56 +08:00
Vincent Zhang
64631d103a Refactor. 2019-05-27 00:25:08 +08:00
Vincent Zhang
c5226e4aae Eliminate compiler warnings. 2019-05-23 16:47:30 +08:00