~zge/kaomoji

110186d2ebfae303b05d2d33a6939d30ce3ac995 — Philip K 1 year, 23 days ago 5f9553d 0.1.1
Fixed byte-compilation issues
1 files changed, 4 insertions(+), 4 deletions(-)

M insert-kaomoji.el
M insert-kaomoji.el => insert-kaomoji.el +4 -4
@@ 81,14 81,14 @@ their unit components by unit separators (ASCII 37)."
  "Parse FILENAME for a list of Kaomoji categories."
  (with-temp-buffer
    (insert-file-contents filename)
    (kaomoji--parse-buffer (current-buffer))))
    (insert-kaomoji--parse-buffer (current-buffer))))

(defconst insert-kaomoji-alist
  (let* ((dir (if load-file-name
                  (file-name-directory load-file-name)
                default-directory))
         (file (expand-file-name "KAOMOJIS" dir)))
    (kaomoji-parse-file file))
    (insert-kaomoji-parse-file file))
  "Alist of various kaomojis.")




@@ 116,8 116,8 @@ argument lists the last used kaomojis."
  (cond ((and (>= arg 16) (< 0 (ring-size insert-kaomoji--last-used)))
         (completing-read "Last inserted Kaomojis: "
                          (ring-elements insert-kaomoji--last-used)))
        ((>= arg 4) (kaomoji--select-kaomoji insert-kaomoji--last-category))
        (t (kaomoji--select-kaomoji nil))))
        ((>= arg 4) (insert-kaomoji--select-kaomoji insert-kaomoji--last-category))
        (t (insert-kaomoji--select-kaomoji nil))))