Commit 7dafbe3a authored by Basil L. Contovounesios's avatar Basil L. Contovounesios
Browse files

Minor region-noncontiguous-p simplification

* lisp/simple.el (region-noncontiguous-p): Don't needlessly traverse
region-bounds.
parent 910d1707
Pipeline #1512 passed with stage
in 50 minutes and 17 seconds
......@@ -5612,7 +5612,7 @@ see `region-noncontiguous-p' and `extract-rectangle-bounds'."
"Return non-nil if the region contains several pieces.
An example is a rectangular region handled as a list of
separate contiguous regions for each line."
(> (length (region-bounds)) 1))
(cdr (region-bounds)))
(defvar redisplay-unhighlight-region-function
(lambda (rol) (when (overlayp rol) (delete-overlay rol))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment