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:
UndeadKernel 2019-06-01 13:30:18 +02:00
parent 32e266cfb4
commit 2f910fb91f
3 changed files with 16 additions and 2 deletions

View file

@ -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)))