Mercurial > emacs
changeset 4103:25a49899f199
(completion-setup-function): Insert the mouse help message
only if non-nil `window-system'.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 15 Jul 1993 05:47:31 +0000 |
parents | dba3acd9972c |
children | d42fc10d9c96 |
files | lisp/simple.el |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/simple.el Thu Jul 15 05:46:02 1993 +0000 +++ b/lisp/simple.el Thu Jul 15 05:47:31 1993 +0000 @@ -2221,8 +2221,9 @@ (save-excursion (completion-mode) (goto-char (point-min)) - (insert (substitute-command-keys - "Click \\[mouse-choose-completion] on a completion to select it.\n\n")))) + (if window-system + (insert (substitute-command-keys + "Click \\[mouse-choose-completion] on a completion to select it.\n\n"))))) (add-hook 'completion-setup-hook 'completion-setup-function)