; Avoid plist-get as generalized var in erc-compat
* lisp/erc/erc-compat.el (erc-compat--29-auth-source-pass-search): The gv expander for `plist-get' was added in Emacs 28. But ERC still supports 27, as of this function's introduction, in Emacs 29.
This commit is contained in:
parent
09e9d7c749
commit
7b13422298
1 changed files with 2 additions and 2 deletions
|
@ -260,8 +260,8 @@ If START or END is negative, it counts from the end."
|
|||
(dolist (e rv out)
|
||||
(when-let* ((s (plist-get e :secret))
|
||||
(v (auth-source--obfuscate s)))
|
||||
(setf (plist-get e :secret)
|
||||
(apply-partially #'auth-source--deobfuscate v)))
|
||||
(setq e (plist-put e :secret (apply-partially
|
||||
#'auth-source--deobfuscate v))))
|
||||
(push e out)))
|
||||
rv)))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue