fix bug in ekp-hyphen-str
This commit is contained in:
parent
564f33ba27
commit
28d6c8ee77
2
ekp.el
2
ekp.el
@ -290,7 +290,7 @@ return the value of KEY in plist."
|
|||||||
|
|
||||||
(defun ekp-hyphen-str (string)
|
(defun ekp-hyphen-str (string)
|
||||||
(propertize
|
(propertize
|
||||||
"-" 'face '(:family (ekp-text-data string :latin-font))))
|
"-" 'face `(:family ,(ekp-text-data string :latin-font))))
|
||||||
|
|
||||||
(defun ekp-hyphen-pixel (string)
|
(defun ekp-hyphen-pixel (string)
|
||||||
(string-pixel-width (ekp-hyphen-str string)))
|
(string-pixel-width (ekp-hyphen-str string)))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user