branch: externals/mpdired commit b66f18976ef03e5f7b827a404c3d2cce817c8f26 Author: Manuel Giraud <man...@ledu-giraud.fr> Commit: Manuel Giraud <man...@ledu-giraud.fr>
fix toggle marks Do not mark if there is any other mark (like in Dired). --- mpdired.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpdired.el b/mpdired.el index aa696c7838..68abd8cdc1 100644 --- a/mpdired.el +++ b/mpdired.el @@ -958,7 +958,7 @@ SEPARATOR string." (let ((mark (get-text-property (mpdired--bol) 'mark))) (if (and mark (char-equal mark ?*)) (mpdired--clear-mark) - (mpdired--mark ?*))) + (unless mark (mpdired--mark ?*)))) (forward-line)))) (defun mpdired-change-marks (&optional old new)