Fix 'wrong type arg: overlayp' error from ivy+nav-flash (#4749)
* Fix for missing overlay Overlay might be nil before being used, so replicate what the package does * Neater for for nav-flash issue * Properly check for the value
This commit is contained in:
parent
a7427bb563
commit
ff58823d48
1 changed files with 2 additions and 1 deletions
|
@ -10,7 +10,8 @@ jumping to another part of the file)."
|
|||
(unless (minibufferp)
|
||||
(nav-flash-show)
|
||||
;; only show in the current window
|
||||
(overlay-put compilation-highlight-overlay 'window (selected-window))))
|
||||
(when (overlayp compilation-highlight-overlay)
|
||||
(overlay-put compilation-highlight-overlay 'window (selected-window)))))
|
||||
|
||||
;;;###autoload
|
||||
(defun +nav-flash-blink-cursor-maybe (&rest _)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue