Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
a3eda656
Commit
a3eda656
authored
May 09, 2014
by
Stefan Monnier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lisp/subr.el (function-put): Add function.
parent
0f09bbfa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/subr.el
lisp/subr.el
+8
-0
No files found.
lisp/ChangeLog
View file @
a3eda656
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):
...
...
lisp/subr.el
View file @
a3eda656
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment