From 8ff91150f3a11e938381894ba06ae46bedcd7ef9 Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Fri, 31 Jan 2020 18:06:47 +0900 Subject: [PATCH] Make mmv overlay priority higher --- emacs.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/emacs.el b/emacs.el index 3068f7f..3415834 100644 --- a/emacs.el +++ b/emacs.el @@ -2998,7 +2998,8 @@ Any output will be written to current buffer." invisible." (unless mmv-mark-overlay (setq mmv-mark-overlay (make-overlay 0 0 nil t)) - (overlay-put mmv-mark-overlay 'face 'mmv-face)) + (overlay-put mmv-mark-overlay 'face 'mmv-face) + (overlay-put mmv-mark-overlay 'priority 10)) ;; bigger than highlight-indentation-current-column-overlay-priority (let ((mark-position (mark t))) (cond ((null mark-position) (delete-overlay mmv-mark-overlay))