1
2

More than 1 year has passed since last update.

更新したHelmが起動しない問題の解決法

Posted at

結論

今後、(require 'helm-config)ではなくて(require 'helm)でrequireするようにしよう。

問題

2022/12/13 packages.el経由でもろもろのプラグインを一括更新したらhelmが起動しなくなった

エラーメッセージ

以下のメッセージが残っていた。どうもhelm-configがないらしい。

Cannot open load file: No such file or directory, helm-config

環境

  • macOS Monterey 12.5.1
  • Emacs 27.2 (nix経由でインストールしたもの)
  • leaf.elインストール済み

原因

たぶんこのコミットhelm-config.elが削除されたこと。
(require 'helm)でよくなったらしい。

対応

(leaf helm
  :ensure t
-  :require helm-config
+  :require t
   :config
   (helm-mode 1)
   (global-set-key (kbd "C-x C-a") 'helm-mini)
   (global-set-key (kbd "C-c h") 'helm-command-prefix)
   (global-set-key (kbd "C-c o") 'helm-occur)
   (global-set-key (kbd "C-x C-f") 'helm-find-files)
   (global-set-key (kbd "M-x") 'helm-M-x)
   (global-unset-key (kbd "C-x c"))
   (helm-autoresize-mode t))
1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2