(fix) org-roam-get-keyword: fix for cjk characters (#1672)

This commit is contained in:
Jethro Kuan
2021-07-25 23:07:51 +08:00
committed by GitHub
parent 9acd982332
commit 6ce07cdbf7

View File

@ -152,7 +152,7 @@ Only scans up to BOUND bytes of the document."
(setq bound 1024))
(if file
(with-temp-buffer
(insert-file-contents-literally file nil 0 bound)
(insert-file-contents file nil 0 bound)
(org-roam--get-keyword name))
(org-roam--get-keyword name bound)))