• Basil L. Contovounesios's avatar
    Tweak subr-x.el substring functions · 1013e039
    Basil L. Contovounesios authored
    * lisp/emacs-lisp/subr-x.el (string-join): #'-quote function symbol.
    (string-trim-left, string-trim-right):
    Make better use of substring for minor speedup.
    * test/lisp/emacs-lisp/subr-x-tests.el
    (subr-x-test-string-trim-left, subr-x-test-string-trim-right)
    (subr-x-test-string-remove-prefix)
    (subr-x-test-string-remove-suffix): New tests.
    1013e039
subr-x-tests.el 18.3 KB