]> git.eshelyaron.com Git - emacs.git/commit
Minor optimisation of string-trim-left and string-trim-right
authorMattias Engdegård <mattiase@acm.org>
Sat, 20 May 2023 10:06:46 +0000 (12:06 +0200)
committerMattias Engdegård <mattiase@acm.org>
Sat, 20 May 2023 16:05:18 +0000 (18:05 +0200)
commit5d15818b94c1f6fd46f30154240942b3991492a4
treeaf0be7ed53fcd4686e9ee76657d3aa5b10de82db
parentd8d3d78e58ccf7c961d40f539a5a9773b6668030
Minor optimisation of string-trim-left and string-trim-right

* lisp/subr.el (string-trim-left, string-trim-right):
Use a constant string when no REGEXP argument is given.
lisp/subr.el