aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorPhil Sainty2025-06-29 18:23:22 +1200
committerPhil Sainty2025-06-29 18:23:30 +1200
commitee11917627113ec9bf9665e05a70dfac330271ad (patch)
tree1c51e659a8040e06bede54c521d89dd694349969 /lisp
parente4c8ae9a3b6060d32f8cfdb7140da57461264335 (diff)
downloademacs-scratch/string-common-prefix.tar.gz
emacs-scratch/string-common-prefix.zip
Diffstat (limited to 'lisp')
-rw-r--r--lisp/subr.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 60ea8ca4148..68f9d6b37cc 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -6006,7 +6006,8 @@ attention to letter-case differences."
6006 "Return the longest common prefix from a COLLECTION of strings. 6006 "Return the longest common prefix from a COLLECTION of strings.
6007 6007
6008Return \"\" if there is no common prefix or if COLLECTION is nil. 6008Return \"\" if there is no common prefix or if COLLECTION is nil.
6009If COLLECTION contains exactly one string, return that string. 6009If COLLECTION contains (after filtering) exactly one string, return
6010that string.
6010 6011
6011If IGNORE-CASE is non-nil, letter case is ignored when matching the 6012If IGNORE-CASE is non-nil, letter case is ignored when matching the
6012substrings, but no guarantee is made about the letter-case of the return 6013substrings, but no guarantee is made about the letter-case of the return