|
@@ -12725,7 +12725,9 @@ The images can be removed again with \\[org-ctrl-c-ctrl-c]."
|
|
|
(when (member m matchers)
|
|
|
(goto-char (point-min))
|
|
|
(while (re-search-forward re nil t)
|
|
|
- (when (or (not at) (equal (cdr at) (match-beginning n)))
|
|
|
+ (when (and (or (not at) (equal (cdr at) (match-beginning n)))
|
|
|
+ (not (get-text-property (match-beginning n)
|
|
|
+ 'org-protected)))
|
|
|
(setq txt (match-string n)
|
|
|
beg (match-beginning n) end (match-end n)
|
|
|
cnt (1+ cnt)
|