aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2018-06-16 16:05:07 +0200
committerMichael Albinus2018-06-16 16:05:07 +0200
commit4753d79331f747001ebdbbe9c32b33597daab37f (patch)
tree4fb5391a7e343a655a3ba1a07aee1f24917ed9e7
parent63ba73a9f2bdf75363eea678a8c119ed0ffd9799 (diff)
downloademacs-4753d79331f747001ebdbbe9c32b33597daab37f.tar.gz
emacs-4753d79331f747001ebdbbe9c32b33597daab37f.zip
Fix Bug#31846. Do not merge with master
* lisp/net/secrets.el (secrets-search-items) (secrets-create-item): Fix format of :dict-entry values. (Bug#31846)
-rw-r--r--lisp/net/secrets.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/net/secrets.el b/lisp/net/secrets.el
index fbb0a74978a..c4685483161 100644
--- a/lisp/net/secrets.el
+++ b/lisp/net/secrets.el
@@ -612,9 +612,9 @@ The object labels of the found items are returned as list."
612 (error 'wrong-type-argument (cadr attributes))) 612 (error 'wrong-type-argument (cadr attributes)))
613 (setq props (append 613 (setq props (append
614 props 614 props
615 (list :dict-entry 615 `((:dict-entry
616 (substring (symbol-name (car attributes)) 1) 616 ,(substring (symbol-name (car attributes)) 1)
617 (cadr attributes))) 617 ,(cadr attributes))))
618 attributes (cddr attributes))) 618 attributes (cddr attributes)))
619 ;; Search. The result is a list of object paths. 619 ;; Search. The result is a list of object paths.
620 (setq result 620 (setq result
@@ -650,9 +650,9 @@ The object path of the created item is returned."
650 (error 'wrong-type-argument (cadr attributes))) 650 (error 'wrong-type-argument (cadr attributes)))
651 (setq props (append 651 (setq props (append
652 props 652 props
653 (list :dict-entry 653 `((:dict-entry
654 (substring (symbol-name (car attributes)) 1) 654 ,(substring (symbol-name (car attributes)) 1)
655 (cadr attributes))) 655 ,(cadr attributes))))
656 attributes (cddr attributes))) 656 attributes (cddr attributes)))
657 ;; Create the item. 657 ;; Create the item.
658 (setq result 658 (setq result