Fuco1/smartparens — pull request #380 by pkkm (2014-11-07 18:55:32+00:00)
Title: Check for nil in advice for ac-complete

This fixes the "split-string: Wrong type argument: stringp, nil" error when ac-complete is called and there are no completion candidates.

The fixed error breaks ac-js2-expand-function (from the ac-js2 package), which calls ac-complete internally.