summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorChong Yidong <cyd@gnu.org>2012-10-15 12:03:04 +0800
committerChong Yidong <cyd@gnu.org>2012-10-15 12:03:04 +0800
commitd18a0d2460cbcf73f9bd136912006fc0c11f55e0 (patch)
tree23fc9313372ab844ccc9fe41bd3aaae71fe29a3d /lisp/emacs-lisp
parent3e0341b0a481d833942f3964a70e7f3494588ce6 (diff)
downloademacs-d18a0d2460cbcf73f9bd136912006fc0c11f55e0.tar.gz
emacs-d18a0d2460cbcf73f9bd136912006fc0c11f55e0.tar.bz2
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/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/byte-run.el3
1 files changed, 2 insertions, 1 deletions
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.
;; fns)))
(defmacro defsubst (name arglist &rest body)
- "Define an inline function. The syntax is just like that of `defun'."
+ "Define an inline function. The syntax is just like that of `defun'.
+\(fn NAME ARGLIST &optional DOCSTRING DECL &rest BODY)"
(declare (debug defun) (doc-string 3))
(or (memq (get name 'byte-optimizer)
'(nil byte-compile-inline-expand))