From 4ead4b8b0582235f74a5afdbdf90454cd8f4c86d Mon Sep 17 00:00:00 2001 From: louie Date: Sun, 7 Jan 2018 17:32:08 +0800 Subject: [PATCH] Change input of hash --- anki-editor.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anki-editor.el b/anki-editor.el index c163f66..3833384 100644 --- a/anki-editor.el +++ b/anki-editor.el @@ -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)))