Created
August 7, 2014 21:52
-
-
Save myuhe/2c2e71775951da22dabc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defalias 'function-put | |
;; We don't want people to just use `put' because we can't conveniently | |
;; hook into `put' to remap old properties to new ones. But for now, there's | |
;; no such remapping, so we just call `put'. | |
#'(lambda (f prop value) (put f prop value)) | |
"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.") | |
(function-put 'defmacro 'doc-string-elt 3) | |
(function-put 'defmacro 'lisp-indent-function 2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment