manateelazycat / lsp-bridge

A blazingly fast LSP client for Emacs
GNU General Public License v3.0
1.35k stars 197 forks source link

Use `bound-and-true-p` instead of `boundp` #980

Closed zonuexe closed 7 hours ago

zonuexe commented 6 days ago

The code can be made much simpler by using the bound-and-true-p macro defined in bindings.el. Despite its name, it returns the value bound to the variable, not a boolean (t or nil).

manateelazycat commented 6 days ago

@zonuexe This patch cause CI failed, looks not good