> If CMD raises an error, you have a dangling marker in the buffer, which > is not a great idea. I suggest to wrap everything into > a `unwind-protect' and add (set-marker m nil) as an unwindform, i.e., Fixed. Thanks!