emacs-diffs
[Top][All Lists]
Advanced

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

master d921424891 2/2: Remove probably debugging code in reb-fontify-str


From: Lars Ingebrigtsen
Subject: master d921424891 2/2: Remove probably debugging code in reb-fontify-string-re
Date: Mon, 22 Aug 2022 07:00:55 -0400 (EDT)

branch: master
commit d9214248913e205f81ffe221a351f85c92f486bd
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Remove probably debugging code in reb-fontify-string-re
    
    * lisp/emacs-lisp/re-builder.el (reb-fontify-string-re): Remove
    code that looks like left-over debugging code.  This fixes a
    compilation warning.
---
 lisp/emacs-lisp/re-builder.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lisp/emacs-lisp/re-builder.el b/lisp/emacs-lisp/re-builder.el
index 4b5363d8f6..e6e8bb202d 100644
--- a/lisp/emacs-lisp/re-builder.el
+++ b/lisp/emacs-lisp/re-builder.el
@@ -738,8 +738,7 @@ If SUBEXP is non-nil mark only the corresponding 
sub-expressions."
           (let ((face (get-text-property (1- (point)) 'face)))
             (when (or (and (listp face)
                            (memq 'font-lock-string-face face))
-                      (eq 'font-lock-string-face face)
-                      t)
+                      (eq 'font-lock-string-face face))
               (throw 'found t))))))))
 
 (defface reb-regexp-grouping-backslash



reply via email to

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