mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-01 11:14:55 +00:00
Tweak regexp in help-mode-finish
Without this fix, "This special-form is advised." won't be correctly fontified.
This commit is contained in:
parent
dee091a37f
commit
def71b5e5b
@ -1,3 +1,7 @@
|
||||
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))))
|
||||
|
Loading…
Reference in New Issue
Block a user