From 8be099a2c10ce4718e6630cef6b6ca1983617264 Mon Sep 17 00:00:00 2001 From: Nicolas Richard Date: Thu, 20 Nov 2014 12:09:30 +0100 Subject: byte-run.el (function-put): Match argument names to docstring (bug#19118). --- lisp/emacs-lisp/byte-run.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'lisp/emacs-lisp/byte-run.el') diff --git a/lisp/emacs-lisp/byte-run.el b/lisp/emacs-lisp/byte-run.el index 1f8b04ec8f0..8bf63ea572e 100644 --- a/lisp/emacs-lisp/byte-run.el +++ b/lisp/emacs-lisp/byte-run.el @@ -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) -- cgit v1.2.3