File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,19 @@ This pop-up also shows you the associated keybinding of a command.
42
42
43
43
![ ] ( /completion-with-keybindings.png " Interactive completion of commands, showing the keybinding of each function. ")
44
44
45
+ These M-x commands are persisted across sessions. You can disable it with:
46
+
47
+ ``` lisp
48
+ (setf lem-core/commands/other:*persist-M-x-commands* nil)
49
+ ```
50
+
51
+ and you can change these parameters:
52
+
53
+ - ` lem-core/commands/other:*history-limit* ` : the number of commands that are saved to disk. Defaults to 1000.
54
+ - ` lem-core/commands/other:*max-M-x-candidates-from-history* ` : the number of saved commands we see at the top when calling M-x. Defaults to 10.
55
+
56
+ NB: this persistence was added on August, 2025.
57
+
45
58
46
59
## Opening files
47
60
You can’t perform that action at this time.
0 commit comments