branch: externals/objed
commit 5b4bf3f6d227f929ea52512aca66b1d32385218e
Author: Clemera <[email protected]>
Commit: Clemera <[email protected]>

    Get region command positions according to objed rules
---
 objed-objects.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/objed-objects.el b/objed-objects.el
index 2676451..87f7c90 100644
--- a/objed-objects.el
+++ b/objed-objects.el
@@ -1107,6 +1107,8 @@ a cons cell."
         (message-log-max nil)
         (current-prefix-arg nil))
     (save-mark-and-excursion
+     (goto-char (line-beginning-position))
+     (objed--skip-ws)
      (funcall-interactively cmd)
      (cons (region-beginning) (region-end)))))
 

Reply via email to