Skip to content

Commit

Permalink
Update module header
Browse files Browse the repository at this point in the history
  • Loading branch information
DogLooksGood committed Jun 20, 2022
1 parent e6a89e9 commit 3eeef9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rime.el
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ Otherwise you should set this to where you put librime."
(defun rime--guess-emacs-module-header-root ()
"Guess `emacs-module-module-header-root' from some known places."
(or
(let ((module-header (expand-file-name "emacs-module.h" (concat source-directory "src/"))))
(let ((module-header (expand-file-name "emacs-module.h" (concat source-directory "/src/"))))
(when (file-exists-p module-header)
(file-name-directory module-header)))
(let* ((emacs-dir (getenv "emacs_dir")) ;; https://www.gnu.org/software/emacs/manual/html_node/emacs/Misc-Variables.html
Expand Down

0 comments on commit 3eeef9c

Please sign in to comment.