X-Git-Url: https://code.delx.au/gnu-emacs-elpa/blobdiff_plain/07a4e9e62e5894238b4754102f6a1841b4630294..946c798dfc19047ae3cebe63d00db84ec525a9bc:/company.el diff --git a/company.el b/company.el index 8d416de92..498920afb 100644 --- a/company.el +++ b/company.el @@ -1239,7 +1239,7 @@ can retrieve meta-data for them." (push anno2 annos) (push str res) ; Maintain ordering. (setq str str2))))) - (push str res) + (when str (push str res)) (nreverse res))) (defun company--transform-candidates (candidates)