[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patch] 21.3 terminal.el -- Show help key at prompt
From: |
Kevin Rodgers |
Subject: |
Re: [patch] 21.3 terminal.el -- Show help key at prompt |
Date: |
Fri, 27 Aug 2004 16:45:43 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 |
Jari Aalto+mail.emacs wrote:
> I think it would be good if the prompt indicated which key to press to
> get help. Here is the patch.
>
>
> 2004-08-28 Sat Jari Aalto <jari dot aalto A T poboxes dot com>
>
> * terminal.el (te-escape): Show `?' in prompt for help key.
If `?' does something useful, it must be bound to some command
(te-escape-help) in some map (terminal-escape-map). So instead of a
literal `?' in the prompt, you should look it up:
(format "...%s..."
...
(substitute-command-keys "\\<terminal-escape-map>\\[te-escape-help]")
...)
--
Kevin Rodgers