Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove strict initialism code by @noctuid #94

Merged
merged 1 commit into from Jan 11, 2022

Commits on Jan 11, 2022

  1. Remove strict initialism code by @noctuid

    The function `orderless--separated-by` has also been added by @noctuid. However
    with the removal of the strict initialism code, the contributions by @noctuid
    are pushed below the 15 lines limit. The function `orderless--separated-by` has
    only 11 lines.
    
    (cl-defun orderless--separated-by (sep rxs &optional (before "") (after ""))
      "Return a regexp to match the rx-regexps RXS with SEP in between.
    If BEFORE is specified, add it to the beginning of the rx sequence. If AFTER is
    specified, add it to the end of the rx sequence."
      (rx-to-string
       `(seq
         ,before
         ,@(cl-loop for (sexp . more) on rxs
                    collect `(group ,sexp)
                    when more collect `,sep)
         ,after)))
    minad committed Jan 11, 2022
    Configuration menu
    Copy the full SHA
    4e47744 View commit details
    Browse the repository at this point in the history