]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove probably debugging code in reb-fontify-string-re
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 22 Aug 2022 11:00:36 +0000 (13:00 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 22 Aug 2022 11:00:36 +0000 (13:00 +0200)
* 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

index 4b5363d8f60de6053f89ac863d108cde215ac12c..e6e8bb202da5d9b08f4930739b0605880ba5bd2e 100644 (file)
@@ -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