emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/compat ece91a5b89 03/27: Add function-put


From: ELPA Syncer
Subject: [elpa] externals/compat ece91a5b89 03/27: Add function-put
Date: Sat, 5 Mar 2022 04:57:26 -0500 (EST)

branch: externals/compat
commit ece91a5b89abff216fd0662c85cbd7add62df708
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>

    Add function-put
---
 compat-25.el | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/compat-25.el b/compat-25.el
index f84cf200da..6ec497d9e9 100644
--- a/compat-25.el
+++ b/compat-25.el
@@ -256,5 +256,14 @@ threading."
                 form))))))))
    (t form)))
 
+;;;; Defined in byte-run.el
+
+(compat-defun function-put (func prop value)
+  "Set FUNCTION's property PROP to VALUE.
+The namespace for PROP is shared with symbols.
+So far, FUNCTION can only be a symbol, not a lambda expression."
+  :version "24.4"
+  (put func prop value))
+
 (provide 'compat-25)
 ;;; compat-25.el ends here



reply via email to

[Prev in Thread] Current Thread [Next in Thread]