remove the ensure-system-package config

This commit is contained in:
Jason Tian 2023-05-16 13:42:22 +08:00
parent f93030fd0c
commit a5c8df017c
2 changed files with 2 additions and 11 deletions

View file

@ -89,8 +89,6 @@
(setq system-packages-use-sudo t)
)
(message "%s" (org-version))
(require 'init-packages) ; package management by using use-package

View file

@ -3,16 +3,9 @@
;;; Code:
(use-package ispell
:ensure-system-package aspell)
(use-package ispell)
(unless (executable-find "aspell")
(if noninteractive
(message "Please be informed the Aspell is used in this configuration file, but the Aspell executable file is not found.
You need to install it manually.")
(yes-or-no-p "Please be informed the Aspell is used in this configuration file, but the Aspell executable file is not found.
You need to install it manually. Continue?"))
)
(my-check-for-executable "Aspell" "aspell")
(when (executable-find "aspell")
(setq ispell-program-name "aspell")