Function: org-mouse-replace-match-and-surround
org-mouse-replace-match-and-surround is a byte-compiled function
defined in org-mouse.el.gz.
Signature
(org-mouse-replace-match-and-surround NEWTEXT &optional FIXEDCASE LITERAL STRING SUBEXP)
Documentation
The same as replace-match, but surrounds the replacement with spaces.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org-mouse.el.gz
(defun org-mouse-replace-match-and-surround
(_newtext &optional _fixedcase _literal _string subexp)
"The same as `replace-match', but surrounds the replacement with spaces."
(apply #'replace-match org-mouse-rest)
(save-excursion
(goto-char (match-beginning (or subexp 0)))
(just-one-space)
(goto-char (match-end (or subexp 0)))
(just-one-space)))