mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-26 07:33:47 +00:00
byte-run.el (function-put): Match argument names to docstring (bug#19118).
This commit is contained in:
parent
10f2f8aafa
commit
8be099a2c1
@ -1,3 +1,8 @@
|
||||
2014-11-20 Nicolas Richard <theonewiththeevillook@yahoo.fr>
|
||||
|
||||
* emacs-lisp/byte-run.el (function-put): Match argument names to
|
||||
docstring.
|
||||
|
||||
2014-11-24 Sam Steingold <sds@gnu.org>
|
||||
|
||||
* vc/vc-hooks.el (vc-directory-exclusion-list):
|
||||
|
@ -34,10 +34,11 @@
|
||||
;; 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.
|
||||
#'(lambda (function prop value)
|
||||
"Set FUNCTION'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.")
|
||||
So far, FUNCTION can only be a symbol, not a lambda expression."
|
||||
(put function prop value)))
|
||||
(function-put 'defmacro 'doc-string-elt 3)
|
||||
(function-put 'defmacro 'lisp-indent-function 2)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user