Function: combobulate-extend-region-to-whole-lines

combobulate-extend-region-to-whole-lines is a natively compiled function defined in combobulate-manipulation.el.

Signature

(combobulate-extend-region-to-whole-lines START END)

Documentation

Extend the region between START and END to whole lines.

Source Code

;; Defined in /nix/store/b5fvrwzi3zvkabyzx0in6gw1cj963z46-emacs-packages-deps/share/emacs/site-lisp/combobulate-manipulation.el
(defun combobulate-extend-region-to-whole-lines (start end)
  "Extend the region between START and END to whole lines."
  (dolist (pos (list start end))
    (save-excursion
      (goto-char pos)
      (skip-chars-backward combobulate-skip-prefix-regexp
                           (line-beginning-position))
      (when (bolp)
        (setq start (point)))))
  (list start end))