Commit def71b5e authored by Leo Liu's avatar Leo Liu

Tweak regexp in help-mode-finish

Without this fix, "This special-form is advised." won't be correctly
fontified.
parent dee091a3
2011-03-23 Leo Liu <sdl.web@gmail.com>
* help-mode.el (help-mode-finish): Tweak regexp.
2011-03-23 Glenn Morris <rgm@gnu.org>
* eshell/esh-opt.el (eshell-eval-using-options):
......
......@@ -330,7 +330,7 @@ Commands:
(save-excursion
(goto-char (point-min))
(let ((inhibit-read-only t))
(when (re-search-forward "^This \\w+ is advised.$" nil t)
(when (re-search-forward "^This [^[:space:]]+ is advised.$" nil t)
(put-text-property (match-beginning 0)
(match-end 0)
'face 'font-lock-warning-face))))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment