diff options
| author | Karl Heuer | 1994-04-05 02:29:03 +0000 |
|---|---|---|
| committer | Karl Heuer | 1994-04-05 02:29:03 +0000 |
| commit | c26bb96ea3cd409dc474cbba19cdde473ad1d345 (patch) | |
| tree | 063dcea1c4ef8ec99ec6abf42bd30d4072750378 | |
| parent | 676a14e169d60a2f43ecf8dba8faed6b24b7b779 (diff) | |
| download | emacs-c26bb96ea3cd409dc474cbba19cdde473ad1d345.tar.gz emacs-c26bb96ea3cd409dc474cbba19cdde473ad1d345.zip | |
(completion-setup-function): Add mouse-face properties.
| -rw-r--r-- | lisp/simple.el | 7 |
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 \ |
| 2440 | select the completion near point.\n\n"))))) | 2440 | select 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 | ||