diff options
| author | Chong Yidong | 2012-10-15 12:03:04 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-10-15 12:03:04 +0800 |
| commit | d18a0d2460cbcf73f9bd136912006fc0c11f55e0 (patch) | |
| tree | 23fc9313372ab844ccc9fe41bd3aaae71fe29a3d /lisp | |
| parent | 3e0341b0a481d833942f3964a70e7f3494588ce6 (diff) | |
| download | emacs-d18a0d2460cbcf73f9bd136912006fc0c11f55e0.tar.gz emacs-d18a0d2460cbcf73f9bd136912006fc0c11f55e0.zip | |
More documentation fixes for changes to defun, defmacro, etc.
* doc/lispref/functions.texi (Anonymous Functions): Explicitly list the
docstring, declare, and interactive arguments to lambda.
(Defining Functions): Likewise for defun.
(Inline Functions): Likewise for defsubst.
(Declare Form): Tweak description.
* doc/lispref/macros.texi (Defining Macros): defmacro is now a macro.
Explicitly list the docstring and declare arguments.
* emacs-lisp/byte-run.el (defsubst): Doc fix.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/emacs-lisp/byte-run.el | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a14217358dc..96f859ec603 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-10-15 Chong Yidong <cyd@gnu.org> | ||
| 2 | |||
| 3 | * emacs-lisp/byte-run.el (defsubst): Doc fix. | ||
| 4 | |||
| 1 | 2012-10-14 Eli Zaretskii <eliz@gnu.org> | 5 | 2012-10-14 Eli Zaretskii <eliz@gnu.org> |
| 2 | 6 | ||
| 3 | * window.el (display-buffer): Doc fix. | 7 | * window.el (display-buffer): Doc fix. |
diff --git a/lisp/emacs-lisp/byte-run.el b/lisp/emacs-lisp/byte-run.el index d740574f1e4..462b4a25154 100644 --- a/lisp/emacs-lisp/byte-run.el +++ b/lisp/emacs-lisp/byte-run.el | |||
| @@ -232,7 +232,8 @@ The return value is undefined. | |||
| 232 | ;; fns))) | 232 | ;; fns))) |
| 233 | 233 | ||
| 234 | (defmacro defsubst (name arglist &rest body) | 234 | (defmacro defsubst (name arglist &rest body) |
| 235 | "Define an inline function. The syntax is just like that of `defun'." | 235 | "Define an inline function. The syntax is just like that of `defun'. |
| 236 | \(fn NAME ARGLIST &optional DOCSTRING DECL &rest BODY)" | ||
| 236 | (declare (debug defun) (doc-string 3)) | 237 | (declare (debug defun) (doc-string 3)) |
| 237 | (or (memq (get name 'byte-optimizer) | 238 | (or (memq (get name 'byte-optimizer) |
| 238 | '(nil byte-compile-inline-expand)) | 239 | '(nil byte-compile-inline-expand)) |