branch: elpa/helm commit 51798e51553ff8f3bdcea04686d499df81673049 Author: Thierry Volpiatto <thie...@posteo.net> Commit: Thierry Volpiatto <thie...@posteo.net>
Require helm-command and declare vars and fn --- helm-mode.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/helm-mode.el b/helm-mode.el index e0c442c2fd..cb4ff19c18 100644 --- a/helm-mode.el +++ b/helm-mode.el @@ -37,6 +37,8 @@ (defvar helm-info--files-cache) (defvar helm-info--files-doc-cache) (defvar Info-current-file) +(defvar helm-M-x-prefix-argument) +(defvar helm-M-x--timer) ;; No warnings in Emacs built --without-x (declare-function x-file-dialog "xfns.c") @@ -56,6 +58,10 @@ (declare-function find-library-name "find-func.el") (declare-function helm-info-file-doc "helm-info") (declare-function Info-find-file "info") +(declare-function helm-M-x--notify-prefix-arg "helm-command") +(declare-function helm-M-x--unwind-forms "helm-command") +(declare-function helm-M-x--move-selection-after-hook "helm-command") +(declare-function helm-M-x--before-action-hook "helm-command") (defgroup helm-mode nil "Enable helm completion." @@ -1493,6 +1499,7 @@ handling properties, see `helm-comp-read'. This handler should be used when candidate list doesn't need to be rebuilt dynamically otherwise use `helm-completing-read-default-2'." + (require 'helm-command) (let* ((history (or (car-safe hist) hist)) (initial-input (helm-acase init ((guard* (stringp it)) it)