branch: externals/ergoemacs-mode
commit f12edbb42f512ebeabcfb0a56e89924c21ddc529
Author: Matthew L. Fidler <[email protected]>
Commit: Matthew L. Fidler <[email protected]>
Maybe Fix issue #426
---
ergoemacs-functions.el | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/ergoemacs-functions.el b/ergoemacs-functions.el
index 310e570..1011215 100644
--- a/ergoemacs-functions.el
+++ b/ergoemacs-functions.el
@@ -1827,9 +1827,10 @@ level, like in `ido-find-file'. "
"Allows return to expand a directory like in `ido-find-file'.
This requires `ergoemacs-mode' to be non-nil and
`ergoemacs-helm-ido-style-return' to be non-nil."
- (let* ((follow (buffer-local-value
- 'helm-follow-mode
- (get-buffer-create helm-buffer)))
+ (let* ((follow (and (boundp 'helm-follow-mode)
+ (buffer-local-value
+ 'helm-follow-mode
+ (get-buffer-create helm-buffer))))
(insert-in-minibuffer
#'(lambda (fname)
(with-selected-window (minibuffer-window)