Feature detect set-face-extend

In case there are folks out there using versions of Emacs 27 before
:extend was introduced.
This commit is contained in:
Henrik Lissner 2020-04-24 18:57:18 -04:00
parent 71e23fb250
commit 2c0935cb62
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -37,4 +37,5 @@
(advice-add #'what-cursor-position :after #'+nav-flash-blink-cursor-a)
:config
(if EMACS27+ (set-face-extend 'nav-flash-face t)))
(when (fboundp 'set-face-extend)
(set-face-extend 'nav-flash-face t)))