4
4
5
5
Load and hooks order:
6
6
- ` ~/.emacs.d/early-init.el `
7
- - ` $MINEMACSDIR/early-config.el ` (unless disabled in ` $MINEMACS_IGNORE_USER_CONFIG ` )
8
- - ` $MINEMACSDIR/local/early-config.el ` (unless disabled)
7
+ * ` ~/.emacs.d/core/me-vars.el `
8
+ * ` ~/.emacs.d/core/me-lib.el `
9
+ - ` $MINEMACSDIR/early-config.el ` (unless disabled in ` $MINEMACS_IGNORE_USER_CONFIG ` )
10
+ - ` $MINEMACSDIR/local/early-config.el ` (unless disabled)
9
11
- ` ~/.emacs.d/init.el `
10
12
* ` before-init-hook `
11
- * ` ~/.emacs.d/core/me-vars.el `
13
+ * ` ~/.emacs.d/core/me-vars.el ` (unless already loaded by "early-init.el")
14
+ * ` $MINEMACSDIR/custom-vars.el `
15
+ * ` ~/.emacs.d/core/me-lib.el ` (unless already loaded by "early-init.el")
12
16
* ` ~/.emacs.d/core/me-loaddefs.el `
13
- * ` $MINEMACSDIR/init-tweaks.el ` (unless disabled)
14
- * ` $MINEMACSDIR/local/init-tweaks.el ` (unless disabled)
15
- * ` $MINEMACSDIR/modules.el ` (unless disabled)
16
- * ` $MINEMACSDIR/local/modules.el ` (unless disabled)
17
+ * ` $MINEMACSDIR/init-tweaks.el ` (unless disabled)
18
+ * ` $MINEMACSDIR/local/init-tweaks.el ` (unless disabled)
19
+ * ` $MINEMACSDIR/modules.el ` (unless disabled)
20
+ * ` $MINEMACSDIR/local/modules.el ` (unless disabled)
17
21
* ` ~/.emacs.d/core/<module>.el `
18
- * ` ~/.emacs.d/modules/<module>.el ` (for module in ` minemacs-modules ` )
22
+ * ` ~/.emacs.d/modules/<module>.el ` (for module in ` minemacs-modules ` )
19
23
* ` minemacs-after-loading-modules-hook `
20
- * ` $MINEMACSDIR/custom-vars.el `
21
- * ` $MINEMACSDIR/config.el ` (unless disabled)
22
- * ` $MINEMACSDIR/local/config.el ` (unless disabled)
24
+ * ` $MINEMACSDIR/config.el ` (unless disabled)
25
+ * ` $MINEMACSDIR/local/config.el ` (unless disabled)
23
26
* ` after-init-hook `
24
27
* ` emacs-startup-hook `
25
28
* ` minemacs-after-startup-hook `
26
- + ` minemacs-lazy-hook ` (delayed )
29
+ + ` minemacs-lazy-hook ` (hooks are incrementally loaded via a timer )
27
30
28
31
Special hooks defined with ` +make-first-file-hook! `
29
32
- ` minemacs-first-file-hook `
@@ -100,6 +103,10 @@ These will set the environment variables "no_proxy", "ftp_proxy", ...
100
103
When set in "early-config.el" or in "init-tweaks.el", MinEmacs will enable
101
104
it automatically.
102
105
106
+ #### ` minemacs-modules `
107
+
108
+ MinEmacs enabled modules.
109
+
103
110
#### ` +env-file `
104
111
105
112
The file in which the environment variables will be saved.
@@ -157,7 +164,8 @@ Enable or disable opening suitable files in `hexl-mode`.
157
164
#### ` +project-scan-dir-paths `
158
165
159
166
A list of paths to scan and add to known projects list.
160
- It can be a list of strings (paths) or a list of (cons "~ /path" recursive-p) to scan directories recursively.
167
+ It can be a list of strings (paths) or a list of ("~ /path" .
168
+ recursive-p) to scan directories recursively.
161
169
162
170
#### ` +super-project-root-markers `
163
171
@@ -270,20 +278,6 @@ Automatically convert Org keywords and properties to lowercase on save.
270
278
271
279
Generate MinEmacs' loaddefs file.
272
280
273
- #### ` (+load-user-configs &rest CONFIGS) `
274
-
275
- Load user configurations CONFIGS.
276
-
277
- #### ` (+load &rest FILENAME-PARTS) `
278
-
279
- Load a file, the FILENAME-PARTS are concatenated to form the file name.
280
-
281
- #### ` (+emacs-options-p &rest FEATS) `
282
-
283
- Is features FEATS are enabled in this Emacs build.
284
- When the first argument is ` :any ` , this returns t if at least one of the
285
- FEATS is available.
286
-
287
281
#### ` (+with-delayed! &rest BODY) ` (macro)
288
282
289
283
Delay evaluating BODY with priority 0 (high priority).
@@ -357,12 +351,6 @@ Return t when EXPR is quoted.
357
351
358
352
Like ` apply-partially ` , but apply the ARGS to the right of FUN.
359
353
360
- #### ` (+apply-inhibit-messages FN &rest ARGS) `
361
-
362
- Call FN with ARGS while to suppressing the messages in echo area.
363
- If ` minemacs-verbose-p ` is non-nil, do not print any message to
364
- * Messages* buffer.
365
-
366
354
#### ` (+error! MSG &rest VARS) ` (macro)
367
355
368
356
Log error MSG and VARS using ` message ` .
@@ -386,6 +374,12 @@ This inhebits both the echo area and the `*Messages*` buffer. If `:log` is
386
374
provided as the first argument, inhibit messages but keep writing them to the
387
375
` *Messages* ` buffer.
388
376
377
+ #### ` (+apply-inhibit-messages FN &rest ARGS) `
378
+
379
+ Call FN with ARGS while to suppressing the messages in echo area.
380
+ If ` minemacs-verbose-p ` is non-nil, do not print any message to
381
+ * Messages* buffer.
382
+
389
383
#### ` (+load-theme) `
390
384
391
385
Load Emacs' theme from ` minemacs-theme ` .
@@ -427,6 +421,10 @@ If a mode is quoted, it is left as is. If the entire HOOKS list is quoted, the
427
421
list is returned as-is.
428
422
This function does not change global state, including the match data.
429
423
424
+ #### ` (+setq-hook-fns HOOKS REST &optional SINGLES ADVICE-HOW) `
425
+
426
+ HOOKS REST SINGLES ADVICE-HOW.
427
+
430
428
#### ` (+setq-hook! HOOKS &rest [SYM VAL]...) ` (macro)
431
429
432
430
Set buffer-local variables on HOOKS.
@@ -443,7 +441,7 @@ FUNCS can be expect receiving arguments, the `args` variable can
443
441
be used inside VAR-VALS forms to get the arguments passed the the
444
442
function.
445
443
(+setq-advice! #'revert-buffer : before
446
- revert-buffer-function #'ignore)
444
+ ` revert-buffer-function ` #'ignore)
447
445
448
446
#### ` (+unsetq-hook! HOOKS &rest VAR1 VAR2...) ` (macro)
449
447
@@ -637,6 +635,24 @@ Try to automatically enable a mode for FILENAME.
637
635
638
636
Try to automatically enable a mode based on the ` :interpreter-mode ` value.
639
637
638
+ #### ` (+prog-mode-run-hooks) `
639
+
640
+ Run the hooks in ` prog-mode-hook ` .
641
+
642
+ #### ` (+load-user-configs &rest CONFIGS) `
643
+
644
+ Load user configurations CONFIGS.
645
+
646
+ #### ` (+load &rest FILENAME-PARTS) `
647
+
648
+ Load a file, the FILENAME-PARTS are concatenated to form the file name.
649
+
650
+ #### ` (+emacs-options-p &rest FEATS) `
651
+
652
+ Is features FEATS are enabled in this Emacs build.
653
+ When the first argument is ` :any ` , this returns t if at least one of the
654
+ FEATS is available.
655
+
640
656
#### ` (minemacs-run-build-functions &optional DONT-ASK-P) `
641
657
642
658
Run all build functions in ` minemacs-build-functions ` .
@@ -832,6 +848,10 @@ Go to line N, like `goto-line` but for Lisp code.
832
848
833
849
Add the ;;;###autoload to region (BEG . END).
834
850
851
+ #### ` (+webjump-read-string-with-initial-query PROMPT) `
852
+
853
+ To be used as a replacement for ` webjump-read-string ` , PROMPT.
854
+
835
855
#### ` (+webjump) `
836
856
837
857
Like ` webjump ` , with initial query filled from ` +region-or-thing-at-point ` .
@@ -871,8 +891,10 @@ Activate `hexl-mode` if relevant for the current buffer.
871
891
872
892
#### ` (+kill-buffer-and-its-windows BUFFER &optional MSGP) `
873
893
874
- Kill BUFFER and delete its windows. Default is ` current-buffer ` .
875
- BUFFER may be either a buffer or its name (a string).
894
+ Kill BUFFER and delete its windows.
895
+ Default is ` current-buffer ` . When MSGP is non-nil, signal an error when
896
+ the buffer isn't alive. BUFFER may be either a buffer or its name (a
897
+ string).
876
898
877
899
#### ` (+region-to-buffer START END BUFFER ARG) `
878
900
@@ -904,7 +926,7 @@ See `kill-some-buffers`.
904
926
905
927
#### ` (+kill-buffer-ask-if-modified BUFFER) `
906
928
907
- Like ` kill-buffer-ask ` , but kills BUFFER without confirmation when unmodified .
929
+ Like ` kill-buffer-ask ` , but don't ask if BUFFER isn't modified .
908
930
Kill without asking for buffer names in ` +kill-buffer-no-ask-list ` .
909
931
910
932
#### ` (+delete-extra-windows-for-buffer) `
0 commit comments