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.
This commit is contained in:
Eli Zaretskii 2016-02-13 11:02:28 +02:00
parent b55f06d83d
commit d97f522d3d
2 changed files with 5 additions and 1 deletions

View file

@ -924,7 +924,10 @@ mode for all buffers, use @kbd{M-x global-hi-lock-mode} or place
Hi Lock mode works like Font Lock mode (@pxref{Font Lock}), except
that you specify explicitly the regular expressions to highlight. You
control them with these commands:
control them with the commands described below. (The key bindings
below that begin with @kbd{C-x w} are deprecated in favor of the
global @kbd{M-s h} bindings, and will be removed in some future Emacs
version.)
@table @kbd
@item M-s h r @var{regexp} @key{RET} @var{face} @key{RET}

View file

@ -321,6 +321,7 @@ default.
unsaved customizations and prompts user to customize (if found). It
is intended for adding to 'kill-emacs-query-functions'.
+++
** The old `C-x w' bindings in hi-lock-mode are officially deprecated
in favor of the global `M-s h' bindings introduced in Emacs-23.1.
They'll disappear soon.