diff options
Diffstat (limited to 'lisp/hl-line.el')
| -rw-r--r-- | lisp/hl-line.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/hl-line.el b/lisp/hl-line.el index 4cf0573089f..38fe683785a 100644 --- a/lisp/hl-line.el +++ b/lisp/hl-line.el | |||
| @@ -189,7 +189,8 @@ Specifically, when `hl-line-sticky-flag' is nil deactivate all | |||
| 189 | such overlays in all buffers except the current one." | 189 | such overlays in all buffers except the current one." |
| 190 | (let ((hlob hl-line-overlay-buffer) | 190 | (let ((hlob hl-line-overlay-buffer) |
| 191 | (curbuf (current-buffer))) | 191 | (curbuf (current-buffer))) |
| 192 | (when (and (not hl-line-sticky-flag) | 192 | (when (and (buffer-live-p hlob) |
| 193 | (not hl-line-sticky-flag) | ||
| 193 | (not (eq curbuf hlob)) | 194 | (not (eq curbuf hlob)) |
| 194 | (not (minibufferp))) | 195 | (not (minibufferp))) |
| 195 | (with-current-buffer hlob | 196 | (with-current-buffer hlob |