8 Feb 04:33
Re: Inner workings of `pcomplete'
Stefan Monnier <monnier <at> iro.umontreal.ca>
2012-02-08 03:33:51 GMT
2012-02-08 03:33:51 GMT
> 1. emacs -Q > 2. M-: (boundp 'pcomplete-stub) RET ==> nil > 3. M-x shell > 4. M-: (boundp 'pcomplete-stub) RET ==> t > 5. M-: (special-variable-p 'pcomplete-stub) RET ==> nil > 6. Open the file `pcomplete.el' (for example, by looking up the variable > `pcomplete-stub') and M-x eval-buffer. Now (special-variable-p > 'pcomplete-stub) evaluates to t. > What is going on here? Duh! Thanks for catching this. Please M-x report-emacs-bug! > prompt and M-: (pcomplete-completions)). However, it is also passed as > a table argument to the function `complete-with-action', whose > documentation says that this argument should not be a function. The docstring is wrong, as the first line of the code indicatesStefan
Stefan
RSS Feed