emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master d4da806 17/40: Fix removal of snippets by uuid


From: Noam Postavsky
Subject: [elpa] master d4da806 17/40: Fix removal of snippets by uuid
Date: Wed, 26 Oct 2016 23:06:33 +0000 (UTC)

branch: master
commit d4da806e5c48ef050853b4db947bb1f6d37560ad
Author: Akinori MUSHA <address@hidden>
Commit: Noam Postavsky <address@hidden>

    Fix removal of snippets by uuid
    
    * yasnippet.el (yas--remove-template-by-uuid): Test uuid equality with
    `equal' instead of `eq'.
    
    Copyright-paperwork-exempt: yes
    
    Close #714
---
 yasnippet.el |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/yasnippet.el b/yasnippet.el
index 5136fe9..8796e6a 100644
--- a/yasnippet.el
+++ b/yasnippet.el
@@ -1083,7 +1083,7 @@ Has the following fields:
         (maphash #'(lambda (k v)
                      (let ((template (gethash name v)))
                        (when (and template
-                                  (eq uuid (yas--template-uuid template)))
+                                  (equal uuid (yas--template-uuid template)))
                          (remhash name v)
                          (when (zerop (hash-table-count v))
                            (push k empty-keys)))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]