summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Neidhardt <ambrevar@gmail.com>2017-12-01 10:42:07 +0100
committerPierre Neidhardt <ambrevar@gmail.com>2017-12-01 10:42:07 +0100
commit1a1a29d7cab78b7cfd6e4873a3b63028c25194dc (patch)
treec5ddcba80a84a6093a96adb72de29b15280c75b4
parent3ab25fba0fd406cdf8ce9911d113be3dd5146b38 (diff)
Revert "Helm: Add fboundp check"
This reverts commit 3ab25fba0fd406cdf8ce9911d113be3dd5146b38.
-rw-r--r--evil-helm.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/evil-helm.el b/evil-helm.el
index d05eb91..f61b98a 100644
--- a/evil-helm.el
+++ b/evil-helm.el
@@ -51,10 +51,8 @@
(unless (numberp args) (setq args 1))
(dotimes (_ (abs args))
(if (or (and (< args 0) (not backwards)) (and (> args 0) backwards))
- (when (fboundp 'helm-toggle-visible-mark-backwards)
- (helm-toggle-visible-mark-backwards))
- (when (fboundp 'helm-toggle-visible-mark)
- (helm-toggle-visible-mark)))))
+ (helm-toggle-visible-mark-backwards)
+ (helm-toggle-visible-mark))))
(defun evil-helm-setup ()
"Set up `evil' bindings for `helm'."