diff options
| author | Richard M. Stallman | 1994-07-11 21:26:44 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-07-11 21:26:44 +0000 |
| commit | 52ae2b425612bea551fac9d3274d8a9e6ed257f2 (patch) | |
| tree | e7baebb06b6e4b8a9ca1d01b035aff3ac38d33e0 | |
| parent | 9a43a5943dc93b301ef109ce77af00ac42b4bf3f (diff) | |
| download | emacs-52ae2b425612bea551fac9d3274d8a9e6ed257f2.tar.gz emacs-52ae2b425612bea551fac9d3274d8a9e6ed257f2.zip | |
(lisp-complete-symbol): Bind completion-fixup-function.
| -rw-r--r-- | lisp/emacs-lisp/lisp.el | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/lisp.el b/lisp/emacs-lisp/lisp.el index d6f3e4afb8d..07a22698c6e 100644 --- a/lisp/emacs-lisp/lisp.el +++ b/lisp/emacs-lisp/lisp.el | |||
| @@ -277,7 +277,12 @@ function definitions, values or properties are considered." | |||
| 277 | (insert completion)) | 277 | (insert completion)) |
| 278 | (t | 278 | (t |
| 279 | (message "Making completion list...") | 279 | (message "Making completion list...") |
| 280 | (let ((list (all-completions pattern obarray predicate))) | 280 | (let ((list (all-completions pattern obarray predicate)) |
| 281 | (completion-fixup-function | ||
| 282 | (function (lambda () (if (save-excursion | ||
| 283 | (goto-char (max (point-min) (- (point) 4))) | ||
| 284 | (looking-at " <f>")) | ||
| 285 | (forward-char -4)))))) | ||
| 281 | (or (eq predicate 'fboundp) | 286 | (or (eq predicate 'fboundp) |
| 282 | (let (new) | 287 | (let (new) |
| 283 | (while list | 288 | (while list |