aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/hl-line.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/hl-line.el b/lisp/hl-line.el
index 8c6b499f11d..70ba0fcfc28 100644
--- a/lisp/hl-line.el
+++ b/lisp/hl-line.el
@@ -75,9 +75,7 @@
75 (dolist (buffer (buffer-list)) 75 (dolist (buffer (buffer-list))
76 (unless (eq buffer selected) 76 (unless (eq buffer selected)
77 (with-current-buffer buffer 77 (with-current-buffer buffer
78 (when hl-line--overlay 78 (hl-line-unhighlight))))))))
79 (delete-overlay hl-line--overlay)
80 (setq hl-line--overlay nil)))))))))
81 79
82(defcustom hl-line-overlay-priority -50 80(defcustom hl-line-overlay-priority -50
83 "Priority used on the overlay used by hl-line." 81 "Priority used on the overlay used by hl-line."