; Fix warnings in 'auth-source-search' (bug#77612)
* lisp/auth-source.el (auth-source-search): When calling 'slot-value', specify slots by name, not by ':initarg'.
This commit is contained in:
parent
58ff101380
commit
2f67352d7a
1 changed files with 5 additions and 1 deletions
|
@ -708,7 +708,11 @@ must call it to obtain the actual value."
|
|||
(condition-case nil
|
||||
(unless (auth-source-search-collection
|
||||
(plist-get spec key)
|
||||
(slot-value backend key))
|
||||
(slot-value
|
||||
backend
|
||||
(if (keywordp key)
|
||||
(intern-soft (substring (symbol-name key) 1))
|
||||
key)))
|
||||
(setq filtered-backends (delq backend filtered-backends))
|
||||
(cl-return))
|
||||
(invalid-slot-name nil))))
|
||||
|
|
Loading…
Add table
Reference in a new issue