objed: add a manual actiation flag
Setting the flag `+manual` of the `objed` module makes the user responsible for calling `objed-activate` when needed. The binding `M-SPC` is set in the default Emacs bindings.
This commit is contained in:
parent
32e266cfb4
commit
2f910fb91f
3 changed files with 16 additions and 2 deletions
|
@ -27,4 +27,5 @@
|
|||
(advice-add 'objed--init :after #'+objed*add-face-remaps)
|
||||
(advice-add 'objed--reset :after #'+objed*remove-face-remaps)
|
||||
|
||||
(objed-mode +1))
|
||||
(unless (featurep! +manual)
|
||||
(objed-mode +1)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue