From ace2e5ac91cc917b058d465382dbf2f6410b469c Mon Sep 17 00:00:00 2001 From: kimim Date: Mon, 15 Apr 2024 19:30:39 +0800 Subject: [PATCH] fix cnws path --- README.org | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.org b/README.org index 9fceeb0..fbc80e5 100644 --- a/README.org +++ b/README.org @@ -1545,8 +1545,12 @@ Check spell on the fly. :config (setq cns-process-buffer "*cns*") (setq cns-prog - (concat kimim/path-kimim-emacs - "site-lisp/cns/cnws.exe")) + (cond ((eq system-type 'windows-nt) + (concat kimim/path-kimim-emacs + "site-lisp/cns/cnws.exe")) + ((eq system-type 'darwin) + (concat kimim/path-kimim-emacs + "site-list/cns/cnws")))) (setq cns-dict-directory (concat kimim/path-kimim-emacs "site-lisp/cns/cppjieba/dict"))