el/dot-emacs.el (mdw-merge-style-alists): Use correct length of `-alist'.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 27 Jul 2023 15:53:09 +0000 (16:53 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 6 Dec 2023 14:36:43 +0000 (14:36 +0000)
el/dot-emacs.el

index a04ac26..393e136 100644 (file)
@@ -2396,8 +2396,8 @@ indentation anyway."
       (let ((key (car item)) (value (cdr item)))
        (if (let* ((key-name (symbol-name key))
                   (key-len (length key-name)))
-             (and (>= key-len 5)
-                  (string= (subseq key-name (- key-len 5)) "-alist")))
+             (and (>= key-len 6)
+                  (string= (subseq key-name (- key-len 6)) "-alist")))
            (push (cons key
                        (mdw-merge-style-alists value
                                                (cdr (assoc key second))))