Make unzip and hunspell with cygwin global available; no need to defin the path
This commit is contained in:
parent
74918848fd
commit
3c48ecc58f
2 changed files with 5 additions and 9 deletions
|
@ -49,9 +49,9 @@
|
|||
nov-header-line-format "")
|
||||
(require 'shrface)
|
||||
(setq nov-shr-rendering-functions '((img . nov-render-img) (title . nov-render-title)))
|
||||
(setq nov-shr-rendering-functions (append nov-shr-rendering-functions shr-external-rendering-functions))
|
||||
(when (eq system-type 'windows-nt)
|
||||
(setq nov-unzip-program "c:/msys64/usr/bin/unzip.exe")))
|
||||
(setq nov-shr-rendering-functions (append nov-shr-rendering-functions shr-external-rendering-functions)))
|
||||
;; (when (eq system-type 'windows-nt)
|
||||
;; (setq nov-unzip-program "c:/msys64/usr/bin/unzip.exe")))
|
||||
|
||||
(use-package eglot
|
||||
:defer t
|
||||
|
@ -546,8 +546,8 @@
|
|||
;; On windows: Copy *.aff and *.dic files to C:\msys64\ucrt64\share\hunspell
|
||||
;; `hunspell -D`, the program will display the dictionaries and affix files it
|
||||
;; finds and loads.
|
||||
(when (eq system-type 'windows-nt)
|
||||
(setq ispell-program-name "c:/msys64/ucrt64/bin/hunspell.exe"))
|
||||
;; (when (eq system-type 'windows-nt)
|
||||
;; (setq ispell-program-name "c:/msys64/ucrt64/bin/hunspell.exe"))
|
||||
(setq ispell-dictionary "german,english")
|
||||
(setq ispell-local-dictionary-alist
|
||||
'(("german" "[[:alpha:]]" "[^[:alpha:]]" "[']" t ("-d" "de_DE_frami,de_AT_frami,de_CH_frami") nil utf-8)
|
||||
|
|
4
init.el
4
init.el
|
@ -10,7 +10,3 @@
|
|||
(load "bundle--latex")
|
||||
(load "bundle--mk")
|
||||
(load "bundle--linux")
|
||||
(when (eq system-type 'windows-nt)
|
||||
(if (null (file-exists-p "c:/msys64/mingw64/bin/hunspell.exe")) (message "hunspell.exe is missing") nil)
|
||||
(if (null (file-exists-p "c:/msys64/ucrt64/bin/hunspell.exe")) (message "hunspell.exe is missing") nil)
|
||||
(if (null (file-exists-p "c:/msys64/usr/bin/unzip.exe")) (message "unzip.exe is missing") nil))
|
||||
|
|
Loading…
Add table
Reference in a new issue