Browse Source

Make mmv overlay priority higher

master
10sr 4 years ago
parent
commit
8ff91150f3
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      emacs.el

+ 2
- 1
emacs.el View File

@@ -2998,7 +2998,8 @@ Any output will be written to current buffer."
invisible." invisible."
(unless mmv-mark-overlay (unless mmv-mark-overlay
(setq mmv-mark-overlay (make-overlay 0 0 nil t)) (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))) (let ((mark-position (mark t)))
(cond (cond
((null mark-position) (delete-overlay mmv-mark-overlay)) ((null mark-position) (delete-overlay mmv-mark-overlay))


Loading…
Cancel
Save