summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2015-05-18 09:43:38 +0200
committerAlan Pearce2015-05-18 09:43:38 +0200
commit89baff639394a218266dff3ba39471f28d03ed4d (patch)
treec73e58537c6824ca1cf7efcc5059411346e0881c
parentcb773bd92390dea1ba5b79717873f5f740be24f4 (diff)
downloadnixfiles-89baff639394a218266dff3ba39471f28d03ed4d.tar.lz
nixfiles-89baff639394a218266dff3ba39471f28d03ed4d.tar.zst
nixfiles-89baff639394a218266dff3ba39471f28d03ed4d.zip
Emacs: Fix helm startup errors
-rw-r--r--tag-emacs/emacs.d/init.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 5de9f297..d8c09c3b 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -578,14 +578,14 @@
 
 (req-package helm-config
   :demand t
-  :diminish helm-mode
   :ensure helm
   :bind (("C-x i"   . helm-semantic-or-imenu))
   :config (progn
             (setq helm-idle-delay .1
                   helm-input-idle-delay 0
                   ido-use-virtual-buffers t)
-            (helm-adaptive-mode 1)))
+            (when (fboundp #'helm-adaptive-mode)
+			  (helm-adaptive-mode 1))))
 
 (req-package helm-files
   :defer t