1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-04 20:27:45 +00:00

(lisp-complete-symbol): Don't bind completion-fixup-function.

This commit is contained in:
Richard M. Stallman 1998-10-13 23:56:32 +00:00
parent 7d22ed15b7
commit e323ab22c3

View File

@ -316,12 +316,7 @@ function definitions, values or properties are considered."
(insert completion))
(t
(message "Making completion list...")
(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))))))
(let ((list (all-completions pattern obarray predicate)))
(setq list (sort list 'string<))
(or (eq predicate 'fboundp)
(let (new)