the signature of the query-replace function in emacs looks like this :
(query-replace FROM-STRING TO-STRING &optional DELIMITED START END)
My question is how can I specify the DELIMITED argument.
The docs indicate: ” Third arg DELIMITED (prefix arg if interactive), if non-nil, means replace
only matches surrounded by word boundaries.”
So I’m assuming it would be just like a numeric argument specified before a command (i.e. calling undo 8 times with M-8 C-x u) but haven’t figured it out. Can anyone help?
(query-replace "foo" "bar" "your demeter")orC-u M-%