branch: elpa/adoc-mode commit f68c4b917818ac561e726681264aff66652623e2 Author: Tobias Zawada <t...@esi-group.com> Commit: TobiasZawada <i...@tn-home.de>
Addresses #33. Remove the superfluous (setq found nil) in adoc-kw-replacement --- adoc-mode.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/adoc-mode.el b/adoc-mode.el index aba1a8d4e6..86945c26ea 100644 --- a/adoc-mode.el +++ b/adoc-mode.el @@ -1902,10 +1902,8 @@ meta characters." ;; matcher function (lambda (end) (let (found) - (while (and (setq found - (adoc-kwf-search ,regexp end t)) + (while (and (setq found (adoc-kwf-search ,regexp end t)) (text-property-not-all (match-beginning 1) (match-end 1) 'adoc-reserved nil)) - (setq found nil) (goto-char (+ (match-beginning 0) 1))) (when (and found adoc-insert-replacement ,replacement) (let* ((s (cond