diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2015-08-02 14:55:15 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2015-08-02 14:58:15 -0700 |
commit | 5f5fe275ec54194a9293690ffee3d425026ac14b (patch) | |
tree | f1c1920af7358b9d5978904328308488af54ec9c /doc | |
parent | d2c4309d46529bac656f332677d2c5e199577845 (diff) | |
download | emacs-5f5fe275ec54194a9293690ffee3d425026ac14b.tar.gz |
Treat help strings like other doc strings
* doc/lispref/text.texi (Special Properties), etc/NEWS: Document this.
* lisp/epa.el (epa--select-keys): Remove no-longer-needed calls to
substitute-command-keys.
* src/keyboard.c (show_help_echo, parse_menu_item): Call
substitute-command-keys on the help string before displaying it.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lispref/text.texi | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi index acf72340a9d..e63e634db04 100644 --- a/doc/lispref/text.texi +++ b/doc/lispref/text.texi @@ -3472,8 +3472,10 @@ function called to display help strings. These may be @code{help-echo} properties, menu help strings (@pxref{Simple Menu Items}, @pxref{Extended Menu Items}), or tool bar help strings (@pxref{Tool Bar}). The specified function is called with one argument, the help -string to display. Tooltip mode (@pxref{Tooltips,,, emacs, The GNU Emacs -Manual}) provides an example. +string to display, which is passed through +@code{substitute-command-keys} before being given to the function; see +@ref{Keys in Documentation}. Tooltip mode (@pxref{Tooltips,,, emacs, +The GNU Emacs Manual}) provides an example. @end defvar @node Format Properties |