From 70f83a141048c9b6fd119c1999a2113a0ab66e91 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sat, 27 Jul 2019 15:59:32 +0200 Subject: [PATCH] Add a doc string to redisplay-highlight-region-function * lisp/simple.el (redisplay-highlight-region-function): Add a doc string (bug#24701). --- lisp/simple.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lisp/simple.el b/lisp/simple.el index 742d6cb6ff3..2c6fc84e73f 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -5614,6 +5614,13 @@ separate contiguous regions for each line." (lambda (rol) (when (overlayp rol) (delete-overlay rol)))) (defvar redisplay-highlight-region-function + "Function to move the highlight overlay. +This function is called with four parameters, START, END, WINDOW +and OVERLAY. If OVERLAY is nil, a new overlay is created. In +any case, the overlay is adjusted to reflect the other three +parameters. + +The overlay is returned by the function." (lambda (start end window rol) (if (not (overlayp rol)) (let ((nrol (make-overlay start end))) -- 2.39.2