diff options
| author | Lars Ingebrigtsen | 2016-05-01 16:53:38 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2016-05-01 16:53:38 +0200 |
| commit | bf0b6fab032bd35fae36f7371b7cd1fe3bfaaac7 (patch) | |
| tree | 4bbed3f5de389fea0f5f66a78a100d623accee2d /etc | |
| parent | 8cfd9ba1a97a02157c6b730cca9d61b0fb7de53b (diff) | |
| download | emacs-bf0b6fab032bd35fae36f7371b7cd1fe3bfaaac7.tar.gz emacs-bf0b6fab032bd35fae36f7371b7cd1fe3bfaaac7.zip | |
Allow minibuffer prompts to use faces
* doc/lispref/minibuf.texi (Text from Minibuffer): Document
`minibuffer-prompt-properties' and explain how faces work in
the minibuffer prompt.
* src/minibuf.c (read_minibuf): If `face' is in
`minibuffer-prompt-properties', apply it to the end of the
face list to allow users to have their own faces on the
prompts (bug#16136).
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
| @@ -57,6 +57,12 @@ affected by this, as SGI stopped supporting IRIX in December 2013. | |||
| 57 | * Changes in Emacs 25.2 | 57 | * Changes in Emacs 25.2 |
| 58 | 58 | ||
| 59 | +++ | 59 | +++ |
| 60 | ** Faces in `minibuffer-prompt-properties' no longer overwrite properties | ||
| 61 | in the text in functions like `read-from-minibuffer', but instead are | ||
| 62 | added to the end of the face list. This allows users to say things | ||
| 63 | like `(read-from-minibuffer (propertize "Enter something: " 'face 'bold))'. | ||
| 64 | |||
| 65 | +++ | ||
| 60 | ** The new variable `extended-command-suggest-shorter' has been added | 66 | ** The new variable `extended-command-suggest-shorter' has been added |
| 61 | to control whether to suggest shorter `M-x' commands or not. | 67 | to control whether to suggest shorter `M-x' commands or not. |
| 62 | 68 | ||