Commit a3eda656 authored by Stefan Monnier's avatar Stefan Monnier

* lisp/subr.el (function-put): Add function.

parent 0f09bbfa
2014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
* subr.el (function-put): Add function.
2014-05-09 Stephen Berman <stephen.berman@gmx.net>
* calendar/todo-mode.el (todo-insert-item-from-calendar):
......
......@@ -2683,6 +2683,14 @@ computing the hash. If BINARY is non-nil, return a string in binary
form."
(secure-hash 'sha1 object start end binary))
(defalias 'function-put #'put
;; This is only really used in Emacs>24.4, but we add it to 24.4 already, so
;; as to ease the pain when people use future autoload files that contain
;; function-put.
"Set function F's property PROP to VALUE.
The namespace for PROP is shared with symbols.
So far, F can only be a symbol, not a lambda expression.")
(defun function-get (f prop &optional autoload)
"Return the value of property PROP of function F.
If AUTOLOAD is non-nil and F is autoloaded, try to autoload it
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment