remove the ensure-system-package config
This commit is contained in:
parent
f93030fd0c
commit
a5c8df017c
2 changed files with 2 additions and 11 deletions
2
init.el
2
init.el
|
@ -89,8 +89,6 @@
|
|||
(setq system-packages-use-sudo t)
|
||||
)
|
||||
|
||||
(message "%s" (org-version))
|
||||
|
||||
(require 'init-packages) ; package management by using use-package
|
||||
|
||||
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue