Skip to content
This repository has been archived by the owner on Apr 11, 2021. It is now read-only.

let*: Symbol's value as variable is void: show-paren-data-function #35

Closed
wenxin-wang opened this issue Dec 5, 2013 · 1 comment
Closed

Comments

@wenxin-wang
Copy link

Hi,
After an update today, I can't insert a parenthesis inside a paired parenthesis.
It seems that since last commit (3693ad6) autopair have used paren.el's show-paren-data-function, but that symbol is not defined in 24.3's paren.el... It is defined in trunk though.
Is there a way to work around it?
By the way, I tried to defvar show-paren-data-function as show-data-funtion in ~/.emacs, but strangely emacs told me it is undefined, too, event though I stated (require 'paren) explicitly before that defvar. I'm confused.
-------------------NEW-----------------
Well, (defvar show-paren-data-function 'show-data-funtion) now works, and I don't know why.
I take the code of show-paren--default from trunk and it works.
But still I don't think it's a good idea to use show-paren-data-function before it go into the stable tree.

@joaotavora
Copy link
Owner

OK, I see if I can get backward-compatible code there. In the meantime you can use tag 0.5 (the previous commit I think)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants