Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
e1cd9b5b
Commit
e1cd9b5b
authored
Apr 11, 2008
by
Chong Yidong
Browse files
(woman2-TH): Quote search string argument to string-match.
parent
0159b08c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
lisp/woman.el
lisp/woman.el
+2
-3
No files found.
lisp/woman.el
View file @
e1cd9b5b
...
...
@@ -3846,10 +3846,9 @@ 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)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment