]> git.eshelyaron.com Git - emacs.git/commitdiff
(lisp-complete-symbol): Bind completion-fixup-function.
authorRichard M. Stallman <rms@gnu.org>
Mon, 11 Jul 1994 21:26:44 +0000 (21:26 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 11 Jul 1994 21:26:44 +0000 (21:26 +0000)
lisp/emacs-lisp/lisp.el

index d6f3e4afb8d3c206436cc30462b2ae277e497e8d..07a22698c6e7cce9b3333d0617b6f43f8156f794 100644 (file)
@@ -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