branch: externals/compat
commit ece91a5b89abff216fd0662c85cbd7add62df708
Author: Philip Kaludercic <phil...@posteo.net>
Commit: Philip Kaludercic <phil...@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