1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

gnus-util.el (gnus-string-match-p): New function, that is an alias to string-match-p in Emacs >=23.

gnus-msg.el (gnus-configure-posting-styles)
nnir.el (nnir-run-gmane): Use gnus-string-match-p.
This commit is contained in:
Katsumi Yamaoka 2010-11-01 03:58:53 +00:00
parent 42d9cffad2
commit 87732ef36a
4 changed files with 18 additions and 2 deletions

View file

@ -1892,7 +1892,7 @@ this is a reply."
(cond
((stringp value)
(if (and (stringp match)
(string-match-p "\\\\[&[:digit:]]" value)
(gnus-string-match-p "\\\\[&[:digit:]]" value)
(match-beginning 1))
(gnus-match-substitute-replacement value nil nil group)
value))