Skip to content

Commit e5c5ffb

Browse files
authored
quote rime-emacs-module-header-root to avoid compile failure (#233)
1 parent d8c0a99 commit e5c5ffb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rime.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1017,7 +1017,8 @@ You can customize the color with `rime-indicator-face' and `rime-indicator-dim-f
10171017
(if rime-librime-root
10181018
(format "LIBRIME_ROOT=%s" (file-name-as-directory (expand-file-name rime-librime-root))))
10191019
(if rime-emacs-module-header-root
1020-
(format "EMACS_MODULE_HEADER_ROOT=%s" (file-name-as-directory (expand-file-name rime-emacs-module-header-root))))
1020+
(format "EMACS_MODULE_HEADER_ROOT=%s" (shell-quote-argument
1021+
(file-name-as-directory (expand-file-name rime-emacs-module-header-root)))))
10211022
(format "MODULE_FILE_SUFFIX=%s" module-file-suffix))))
10221023

10231024
(defun rime-compile-module ()

0 commit comments

Comments
 (0)