-
-
Notifications
You must be signed in to change notification settings - Fork 390
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
`pcomplete-suffix-list' is an obsolete variable (as of 24.1) #10
Comments
these variables are used internally by pcomplete and are needed. |
Okay so they are used by pcomplete internally. But why do we need a dynamic value for them? Especially since they are initialized to be eq to the global values and then never changed. |
@tarsius The code implies they could be changed under some circumstance and the original value needs to be saved. Do you know for sure they will never be changed? |
No, but who do you expect to change them? If the values are potentially changed by some code called by If some code that is part of pcomplete changes it then this is either a feature or a bug of pcomplete. Finally if the local bindings are there to protect against changes made to these variables elsewhere (not by pcomplete internal code and not from within |
Jonas Bernoulli
You have to wrap all `pcomplete-completions' calls with these
Thierry |
Okay fair enough. |
What is this supposed to do in
helm-esh-get-candidates
?I don't see these variables being modified so why the dynamic binding?
Also this causes one of the very few compile warnings.
The text was updated successfully, but these errors were encountered: