Fix regression: void function helm-current-directory on C-x C-f
Invoking C-x C-f (spacemacs/helm-find-files) right after startup, before helm is loaded, caused a void function error for helm-current-directory. This fixes it.
This commit is contained in:
parent
534785ad3d
commit
044237139b
|
@ -504,6 +504,8 @@ If DEFAULT-INPUTP is non nil then the current region or symbol at point
|
|||
"Custom spacemacs implementation for calling helm-find-files-1.
|
||||
Removes the automatic guessing of the initial value based on thing at point. "
|
||||
(interactive "P")
|
||||
;; fixes #10882 and #11270
|
||||
(require 'helm-files)
|
||||
(let* ((hist (and arg helm-ff-history (helm-find-files-history)))
|
||||
(default-input hist)
|
||||
(input (cond ((and (eq major-mode 'dired-mode) default-input)
|
||||
|
|
Loading…
Reference in a new issue