branch: externals/mct
commit ff0feeccc47a2678f3df5ab090ec0224237be1b0
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>

    Remove needless save-excursion from mct--completions-completion-end
---
 mct.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/mct.el b/mct.el
index 78058872f2..5799627580 100644
--- a/mct.el
+++ b/mct.el
@@ -980,8 +980,7 @@ This value means that it is overriden by the active 
region.")
 (defun mct--completions-completion-end ()
   "Return end of completion candidate."
   (if-let* ((string (mct--completion-at-point-p)))
-      (save-excursion
-        (1+ (line-end-position)))
+      (1+ (line-end-position))
     (point)))
 
 (defun mct--overlay-make ()

Reply via email to