* lisp/net/secrets.el (secrets-search-items)
(secrets-create-item): Fix format of :dict-entry values. (Bug#31846)
(error 'wrong-type-argument (cadr attributes)))
(setq props (append
props
- (list :dict-entry
- (substring (symbol-name (car attributes)) 1)
- (cadr attributes)))
+ `((:dict-entry
+ ,(substring (symbol-name (car attributes)) 1)
+ ,(cadr attributes))))
attributes (cddr attributes)))
;; Search. The result is a list of object paths.
(setq result
(error 'wrong-type-argument (cadr attributes)))
(setq props (append
props
- (list :dict-entry
- (substring (symbol-name (car attributes)) 1)
- (cadr attributes)))
+ `((:dict-entry
+ ,(substring (symbol-name (car attributes)) 1)
+ ,(cadr attributes))))
attributes (cddr attributes)))
;; Create the item.
(setq result