# HG changeset patch # User Karl Heuer # Date 765512943 0 # Node ID 7ada27b4bf3caec727e20af0aa72424062df936b # Parent 137122de77efdd8c39fdbc673152178eabc5e868 (completion-setup-function): Add mouse-face properties. diff -r 137122de77ef -r 7ada27b4bf3c lisp/simple.el --- a/lisp/simple.el Tue Apr 05 02:19:02 1994 +0000 +++ b/lisp/simple.el Tue Apr 05 02:29:03 1994 +0000 @@ -2437,7 +2437,12 @@ "Click \\[mouse-choose-completion] on a completion to select it.\n"))) (insert (substitute-command-keys "In this buffer, type \\[choose-completion] to \ -select the completion near point.\n\n"))))) +select the completion near point.\n\n")) + (forward-line 1) + (if window-system + (while (re-search-forward "[^ \t\n]+" nil t) + (put-text-property (match-beginning 0) (match-end 0) + 'mouse-face 'highlight)))))) (add-hook 'completion-setup-hook 'completion-setup-function)