diff options
author | Po Lu <luangruo@yahoo.com> | 2025-03-04 14:32:33 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2025-03-04 14:32:33 +0800 |
commit | 9daab9be343f930c8db4c33881abc96e65c01bd7 (patch) | |
tree | 3274add08d7cbee7a34d91091c0ce71b1167216e /lisp/emacs-lisp/crm.el | |
parent | 9415941a9c65b72a3bc20ae0ec1765f3c0ed657d (diff) | |
parent | 7dcf9b71e6ffc0cc92d2d504b1428c3ab432a028 (diff) | |
download | emacs-9daab9be343f930c8db4c33881abc96e65c01bd7.tar.gz emacs-9daab9be343f930c8db4c33881abc96e65c01bd7.tar.bz2 emacs-9daab9be343f930c8db4c33881abc96e65c01bd7.zip |
Merge from savannah/emacs-30
7dcf9b71e6f ; Don't document package-x.el
a5fd518d524 ; Document spurious warnings on macOS 15
625ed68aeaa Fix the use of xref-window-local-history together with Xr...
80917727676 completing-read-multiple: Fix support for ":" as separator
38cc36a3753 ; Improve docstring of cl-check-type
Diffstat (limited to 'lisp/emacs-lisp/crm.el')
-rw-r--r-- | lisp/emacs-lisp/crm.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/crm.el b/lisp/emacs-lisp/crm.el index 676252ae126..a75ccd46f50 100644 --- a/lisp/emacs-lisp/crm.el +++ b/lisp/emacs-lisp/crm.el @@ -269,7 +269,9 @@ with empty strings removed." (setq-local completion-list-insert-choice-function (lambda (_start _end choice) (let* ((beg (save-excursion - (if (search-backward-regexp crm-separator nil t) + (if (search-backward-regexp crm-separator + (field-beginning) + t) (1+ (point)) (minibuffer-prompt-end)))) (end (save-excursion |