]> git.eshelyaron.com Git - emacs.git/commitdiff
byte-run.el (function-put): Match argument names to docstring (bug#19118).
authorNicolas Richard <theonewiththeevillook@yahoo.fr>
Thu, 20 Nov 2014 11:09:30 +0000 (12:09 +0100)
committerNicolas Richard <theonewiththeevillook@yahoo.fr>
Tue, 25 Nov 2014 12:18:40 +0000 (13:18 +0100)
lisp/ChangeLog
lisp/emacs-lisp/byte-run.el

index 12f81b76693855f693e114715c2a2a12bb5e31c9..d4f1dbd21770b4522bcb539c82cf1a9f3f3cb3f0 100644 (file)
@@ -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):
index 1f8b04ec8f05873c70eb0b4b6055077c2821bafc..8bf63ea572e1a2a2774ecf220e3acadcd34cee8b 100644 (file)
   ;; 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)