(lisp-complete-symbol): Bind completion-fixup-function.
This commit is contained in:
parent
9a43a5943d
commit
52ae2b4256
1 changed files with 6 additions and 1 deletions
|
@ -277,7 +277,12 @@ function definitions, values or properties are considered."
|
|||
(insert completion))
|
||||
(t
|
||||
(message "Making completion list...")
|
||||
(let ((list (all-completions pattern obarray predicate)))
|
||||
(let ((list (all-completions pattern obarray predicate))
|
||||
(completion-fixup-function
|
||||
(function (lambda () (if (save-excursion
|
||||
(goto-char (max (point-min) (- (point) 4)))
|
||||
(looking-at " <f>"))
|
||||
(forward-char -4))))))
|
||||
(or (eq predicate 'fboundp)
|
||||
(let (new)
|
||||
(while list
|
||||
|
|
Loading…
Add table
Reference in a new issue