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

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

[nongnu] elpa/flx c342eb02a9 179/182: Enforce use of spaces for indentat


From: ELPA Syncer
Subject: [nongnu] elpa/flx c342eb02a9 179/182: Enforce use of spaces for indentation
Date: Tue, 13 Dec 2022 03:59:41 -0500 (EST)

branch: elpa/flx
commit c342eb02a9357881bfe8da9ed95cf15a0422f8cb
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    Enforce use of spaces for indentation
    
    Also fix a few places where tabs were used.
---
 flx.el | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/flx.el b/flx.el
index e49a100371..452207f20d 100644
--- a/flx.el
+++ b/flx.el
@@ -159,7 +159,7 @@ See documentation for logic."
                       (if (zerop group-word-count) nil last-char)))
                  (when (flx-boundary-p effective-last-char char)
                    (setcdr (cdar groups-alist)
-                          (cons index (cl-cddar groups-alist))))
+                           (cons index (cl-cddar groups-alist))))
                  (when (and (not (flx-word-p last-char))
                             (flx-word-p char))
                    (cl-incf group-word-count)))
@@ -402,11 +402,11 @@ SCORE of nil means to clear the properties."
         (when (and last-char
                    (not (= (1+ last-char) char)))
           (put-text-property block-started  (1+ last-char)
-                            'face 'flx-highlight-face str)
+                             'face 'flx-highlight-face str)
           (setq block-started char))
         (setq last-char char))
       (put-text-property block-started  (1+ last-char)
-                        'face 'flx-highlight-face str)
+                         'face 'flx-highlight-face str)
       (when add-score
         (setq str (format "%s [%s]" str (car score)))))
     (if (consp obj)
@@ -430,4 +430,7 @@ SCORE of nil means to clear the properties."
 
 (provide 'flx)
 
+;; Local Variables:
+;; indent-tabs-mode: nil
+;; End:
 ;;; flx.el ends here



reply via email to

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