(if (fboundp 'eldoc-post-insert-mode)
'eldoc-post-insert-mode
'eldoc-mode))
- :style toggle :selected (or eldoc-post-insert-mode eldoc-mode)
+ :style toggle :selected (or (bound-and-true-p eldoc-post-insert-mode)
+ (bound-and-true-p eldoc-mode))
:help "Display function signatures after typing `SPC' or `('"]
["Delimiter Matching" show-paren-mode
:style toggle :selected show-paren-mode