Fix help-mode highlighting of advice warning (Bug#6304).
commitb1ea593c8121821485fdc758a30efdf03bb63168
authorLeo Liu <sdl.web@gmail.com>
Fri, 28 Jan 2011 21:42:11 +0000 (28 16:42 -0500)
committerChong Yidong <cyd@stupidchicken.com>
Fri, 28 Jan 2011 21:42:11 +0000 (28 16:42 -0500)
treecf627656a45157cd1d137c4d9995785ed6fff39e
parent40e22d80ae027f2a833be444d95bce832b68e54c
Fix help-mode highlighting of advice warning (Bug#6304).

* emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
highlighting to the "this function is advisted" message.

* help-mode.el (help-mode-finish): Apply highlighting here, to
avoid clobbering by substitute-command-keys (Bug#6304).
lisp/ChangeLog
lisp/emacs-lisp/advice.el
lisp/help-mode.el