diff options
| author | Phil Sainty | 2025-06-01 14:59:38 +1200 |
|---|---|---|
| committer | Phil Sainty | 2026-01-24 02:03:31 +1300 |
| commit | 0f1963b2cc0ebda15b3581eec9bfef5215e0c6b6 (patch) | |
| tree | e10954df0debbbfd4e5ba6af19dec2548d17acae /etc | |
| parent | b4a5948d3330f7ca02c61075eed94b467645ea83 (diff) | |
| download | emacs-scratch/string-common-prefix.tar.gz emacs-scratch/string-common-prefix.zip | |
Add function `string-common-prefix'scratch/string-common-prefix
* lisp/subr.el: (string-common-prefix): New function.
* etc/NEWS:
* doc/lispref/strings.texi:
* doc/lispref/minibuf.texi:
* lisp/emacs-lisp/shortdoc.el:
Documentation.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
| @@ -3879,6 +3879,12 @@ It offers a more concise way to create a completion table with metadata. | |||
| 3879 | ** 'all-completions' and 'unintern' no longer support old calling conventions. | 3879 | ** 'all-completions' and 'unintern' no longer support old calling conventions. |
| 3880 | 3880 | ||
| 3881 | +++ | 3881 | +++ |
| 3882 | ** New function 'string-common-prefix'. | ||
| 3883 | Return the longest common prefix from a collection of strings. This | ||
| 3884 | function is similar to 'try-completion', but it returns a string in all | ||
| 3885 | cases. | ||
| 3886 | |||
| 3887 | +++ | ||
| 3882 | ** New symbol property 'find-function-type-alist' used by 'find-function' etc. | 3888 | ** New symbol property 'find-function-type-alist' used by 'find-function' etc. |
| 3883 | Macros that define an object in a way that makes the object's name and | 3889 | Macros that define an object in a way that makes the object's name and |
| 3884 | the macro call site defining the object hard to associate can add an | 3890 | the macro call site defining the object hard to associate can add an |