smartparens icon indicating copy to clipboard operation
smartparens copied to clipboard

Compilation error (sp--pair-to-insert)

Open jeastman opened this issue 11 years ago • 4 comments

When compiling smartparens.el, I run into the following compilation error:

smartparens.el:3103:8:Error: Wrong type argument: sequencep, pairs

The package I am using is pulled from melpa (20150116.45) and the error appears to be related to a change in commit 9d9d584 (addition of the sp--pair-to-insert function). Versions before this commit were working for me. Given that I have not seen any other issues reported against this, I am guessing that the problem is either some sort of conflict or environmental on my end.

The result is that smartparens-mode does not work. Any suggestions for resolving this?

jeastman avatar Jan 16 '15 17:01 jeastman

See https://github.com/Fuco1/smartparens/issues/420#issuecomment-70214668

Fuco1 avatar Jan 16 '15 17:01 Fuco1

Great. Thanks!

jeastman avatar Jan 16 '15 17:01 jeastman

Just an additional note here. I actually had dash 2.10 installed (thus did not have the same void symbol problem described in #420). Removing/re-installing each package individually (correct versions) did not solve the problem. I ended up manually evaluating dash.el and then re-byte-compiling smartparens.el to avoid the error.

jeastman avatar Jan 16 '15 17:01 jeastman

Well, yea, package.el won't do that because it is confused when evaluating dependencies.

Fuco1 avatar Jan 16 '15 17:01 Fuco1