From ef9b3173779f33d67d203dc2e1eabbcc2b6a280d Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Thu, 17 Apr 2025 21:31:07 +0200 Subject: [PATCH] (auth-source-search): Avoid obsolete EIEIO convention --- lisp/auth-source.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/auth-source.el b/lisp/auth-source.el index cb866e1faf1..e8b4d5d3b8c 100644 --- a/lisp/auth-source.el +++ b/lisp/auth-source.el @@ -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)))) -- 2.39.5