Fix 'wrong type arg: overlayp' error from ivy+nav-flash (#4749)
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
hlissner/doom-emacs,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/doom-emacs