mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-09 13:10:57 -08:00
(woman2-TH): Quote argument to string-match.
This commit is contained in:
parent
d86c6d7dcd
commit
95579c3e1d
1 changed files with 3 additions and 3 deletions
|
|
@ -3810,10 +3810,10 @@ v alters page foot left; m alters page head center.
|
|||
(insert " -- ")
|
||||
(woman-forward-arg 'unquote 'concat)
|
||||
;; Delete repeated arguments:
|
||||
(if (string-match (buffer-substring here (point))
|
||||
(if (string-match (regexp-quote
|
||||
(buffer-substring here (point)))
|
||||
(buffer-substring start here))
|
||||
(delete-region here (point)))
|
||||
))
|
||||
(delete-region here (point)))))
|
||||
;; Embolden heading (point is at end of heading):
|
||||
(woman-set-face
|
||||
(save-excursion (beginning-of-line) (point)) (point) 'woman-bold)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue