diff options
| author | Eli Zaretskii | 2016-02-13 11:02:28 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2016-02-13 11:02:28 +0200 |
| commit | d97f522d3d3fa18eba2962d53e6c197ace938cc2 (patch) | |
| tree | 24aff6f4bf881cd60e68bbd014d36d1e8760a286 | |
| parent | b55f06d83d0b59524405213eb6e26e85d4c8599c (diff) | |
| download | emacs-d97f522d3d3fa18eba2962d53e6c197ace938cc2.tar.gz emacs-d97f522d3d3fa18eba2962d53e6c197ace938cc2.zip | |
Document deprecation of hi-lock-mode's 'C-x w' bindings
* doc/emacs/display.texi (Highlight Interactively): Deprecate the
"C-x w" bindings of hi-lock-mode.
* etc/NEWS: Mark the deprecation entry as documented.
| -rw-r--r-- | doc/emacs/display.texi | 5 | ||||
| -rw-r--r-- | etc/NEWS | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/doc/emacs/display.texi b/doc/emacs/display.texi index 1b75a15427c..e3b24033a1a 100644 --- a/doc/emacs/display.texi +++ b/doc/emacs/display.texi | |||
| @@ -924,7 +924,10 @@ mode for all buffers, use @kbd{M-x global-hi-lock-mode} or place | |||
| 924 | 924 | ||
| 925 | Hi Lock mode works like Font Lock mode (@pxref{Font Lock}), except | 925 | Hi Lock mode works like Font Lock mode (@pxref{Font Lock}), except |
| 926 | that you specify explicitly the regular expressions to highlight. You | 926 | that you specify explicitly the regular expressions to highlight. You |
| 927 | control them with these commands: | 927 | control them with the commands described below. (The key bindings |
| 928 | below that begin with @kbd{C-x w} are deprecated in favor of the | ||
| 929 | global @kbd{M-s h} bindings, and will be removed in some future Emacs | ||
| 930 | version.) | ||
| 928 | 931 | ||
| 929 | @table @kbd | 932 | @table @kbd |
| 930 | @item M-s h r @var{regexp} @key{RET} @var{face} @key{RET} | 933 | @item M-s h r @var{regexp} @key{RET} @var{face} @key{RET} |
| @@ -321,6 +321,7 @@ default. | |||
| 321 | unsaved customizations and prompts user to customize (if found). It | 321 | unsaved customizations and prompts user to customize (if found). It |
| 322 | is intended for adding to 'kill-emacs-query-functions'. | 322 | is intended for adding to 'kill-emacs-query-functions'. |
| 323 | 323 | ||
| 324 | +++ | ||
| 324 | ** The old `C-x w' bindings in hi-lock-mode are officially deprecated | 325 | ** The old `C-x w' bindings in hi-lock-mode are officially deprecated |
| 325 | in favor of the global `M-s h' bindings introduced in Emacs-23.1. | 326 | in favor of the global `M-s h' bindings introduced in Emacs-23.1. |
| 326 | They'll disappear soon. | 327 | They'll disappear soon. |