branch: elpa/helm commit b61117ed41879953030b2f320f02e6c52354929c Author: Thierry Volpiatto <thie...@posteo.net> Commit: Thierry Volpiatto <thie...@posteo.net>
Emacs bug 76461 is also present in emacs-30 so fix it as well here, test with emacs-major-version as crm-prompt is not yet available here. --- helm-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm-mode.el b/helm-mode.el index 7bd9be14e3..8a9181867a 100644 --- a/helm-mode.el +++ b/helm-mode.el @@ -2901,7 +2901,7 @@ Be sure to know what you are doing when modifying this.") (when (looking-back crm-separator (1- (point))) (setq sep (match-string 0)))) (setq sep nil)) - (when (boundp 'crm-prompt) ; Emacs-30+. + (when (> emacs-major-version 29) (add-function :override (local 'completion-list-insert-choice-function) #'helm--crm-insert-fn)) (funcall completion-list-insert-choice-function