emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/adoc-mode f68c4b9178 192/199: Addresses #33. Remove the su


From: ELPA Syncer
Subject: [nongnu] elpa/adoc-mode f68c4b9178 192/199: Addresses #33. Remove the superfluous (setq found nil) in adoc-kw-replacement
Date: Sun, 3 Sep 2023 06:59:45 -0400 (EDT)

branch: elpa/adoc-mode
commit f68c4b917818ac561e726681264aff66652623e2
Author: Tobias Zawada <TOZ@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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]