aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1994-04-05 02:29:03 +0000
committerKarl Heuer1994-04-05 02:29:03 +0000
commitc26bb96ea3cd409dc474cbba19cdde473ad1d345 (patch)
tree063dcea1c4ef8ec99ec6abf42bd30d4072750378
parent676a14e169d60a2f43ecf8dba8faed6b24b7b779 (diff)
downloademacs-c26bb96ea3cd409dc474cbba19cdde473ad1d345.tar.gz
emacs-c26bb96ea3cd409dc474cbba19cdde473ad1d345.zip
(completion-setup-function): Add mouse-face properties.
-rw-r--r--lisp/simple.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index fc737b7ca45..e96ad8643a9 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -2437,7 +2437,12 @@ Use \\<completion-list-mode-map>\\[mouse-choose-completion] to select one\
2437 "Click \\[mouse-choose-completion] on a completion to select it.\n"))) 2437 "Click \\[mouse-choose-completion] on a completion to select it.\n")))
2438 (insert (substitute-command-keys 2438 (insert (substitute-command-keys
2439 "In this buffer, type \\[choose-completion] to \ 2439 "In this buffer, type \\[choose-completion] to \
2440select the completion near point.\n\n"))))) 2440select the completion near point.\n\n"))
2441 (forward-line 1)
2442 (if window-system
2443 (while (re-search-forward "[^ \t\n]+" nil t)
2444 (put-text-property (match-beginning 0) (match-end 0)
2445 'mouse-face 'highlight))))))
2441 2446
2442(add-hook 'completion-setup-hook 'completion-setup-function) 2447(add-hook 'completion-setup-hook 'completion-setup-function)
2443 2448