[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 8be099a 01/01: byte-run.el (function-put): Match ar
From: |
Nicolas Richard |
Subject: |
[Emacs-diffs] master 8be099a 01/01: byte-run.el (function-put): Match argument names to docstring (bug#19118). |
Date: |
Tue, 25 Nov 2014 12:52:00 +0000 |
branch: master
commit 8be099a2c10ce4718e6630cef6b6ca1983617264
Author: Nicolas Richard <address@hidden>
Date: Thu Nov 20 12:09:30 2014 +0100
byte-run.el (function-put): Match argument names to docstring (bug#19118).
---
lisp/ChangeLog | 5 +++++
lisp/emacs-lisp/byte-run.el | 7 ++++---
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 12f81b7..d4f1dbd 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2014-11-20 Nicolas Richard <address@hidden>
+
+ * emacs-lisp/byte-run.el (function-put): Match argument names to
+ docstring.
+
2014-11-24 Sam Steingold <address@hidden>
* vc/vc-hooks.el (vc-directory-exclusion-list):
diff --git a/lisp/emacs-lisp/byte-run.el b/lisp/emacs-lisp/byte-run.el
index 1f8b04e..8bf63ea 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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 8be099a 01/01: byte-run.el (function-put): Match argument names to docstring (bug#19118).,
Nicolas Richard <=