diff options
Diffstat (limited to 'evil-helm.el')
| -rw-r--r-- | evil-helm.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/evil-helm.el b/evil-helm.el index f61b98a..d05eb91 100644 --- a/evil-helm.el +++ b/evil-helm.el @@ -51,8 +51,10 @@ (unless (numberp args) (setq args 1)) (dotimes (_ (abs args)) (if (or (and (< args 0) (not backwards)) (and (> args 0) backwards)) - (helm-toggle-visible-mark-backwards) - (helm-toggle-visible-mark)))) + (when (fboundp 'helm-toggle-visible-mark-backwards) + (helm-toggle-visible-mark-backwards)) + (when (fboundp 'helm-toggle-visible-mark) + (helm-toggle-visible-mark))))) (defun evil-helm-setup () "Set up `evil' bindings for `helm'." |
