summaryrefslogtreecommitdiff
path: root/lisp/hl-line.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/hl-line.el')
-rw-r--r--lisp/hl-line.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/hl-line.el b/lisp/hl-line.el
index 2e96bbb92b8..641f1fc931e 100644
--- a/lisp/hl-line.el
+++ b/lisp/hl-line.el
@@ -58,6 +58,7 @@
(defvar hl-line-overlay nil)
(make-variable-buffer-local 'hl-line-overlay)
+(put 'hl-line-overlay 'permanent-local t)
(defun hl-line-highlight ()
"Active the Hl-Line overlay on the current line in the current window.