emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/ergoemacs-mode f12edbb 02/87: Maybe Fix issue #426


From: Stefan Monnier
Subject: [elpa] externals/ergoemacs-mode f12edbb 02/87: Maybe Fix issue #426
Date: Wed, 14 Apr 2021 18:46:56 -0400 (EDT)

branch: externals/ergoemacs-mode
commit f12edbb42f512ebeabcfb0a56e89924c21ddc529
Author: Matthew L. Fidler <matthew.fidler@gmail.com>
Commit: Matthew L. Fidler <matthew.fidler@gmail.com>

    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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]