Change input of hash

This commit is contained in:
louie 2018-01-07 17:32:08 +08:00
parent 3e83061a21
commit 4ead4b8b05

View file

@ -238,7 +238,7 @@ note type."
;; Utilities
(defun anki-editor--hash (type text)
(format "%s-%s" (symbol-name type) (sha1 text)))
(sha1 (format "%s %s" (symbol-name type) text)))
(defun anki-editor--find-ancestor (element test)
(let ((parent (org-element-property :parent element)))