changeset 8205:f9e57f3ecc9d

(lisp-complete-symbol): Bind completion-fixup-function.
author Richard M. Stallman <rms@gnu.org>
date Mon, 11 Jul 1994 21:26:44 +0000
parents f5c8a4e8c4a5
children efcf78560698
files lisp/emacs-lisp/lisp.el
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/lisp.el	Mon Jul 11 21:25:52 1994 +0000
+++ b/lisp/emacs-lisp/lisp.el	Mon Jul 11 21:26:44 1994 +0000
@@ -277,7 +277,12 @@
 	   (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