Commit 2d778742 authored by Xue Fuqiao's avatar Xue Fuqiao
Browse files

Document `special-form-p' and `macrop'.

* doc/lispref/eval.texi (Special Forms): Document `special-form-p'.

* doc/lispref/macros.texi (Simple Macro): Document `macrop'.
parent 882b0b86
2013-12-23 Xue Fuqiao <>
* eval.texi (Special Forms): Document `special-form-p'.
* macros.texi (Simple Macro): Document `macrop'.
* files.texi (Changing Files): Fix an argument of `copy-file'.
* strings.texi (Creating Strings): Document TRIM in `split-string'.
......@@ -440,6 +440,11 @@ begins with @code{lambda} but is not a well-formed @code{lambda}
expression, so Emacs may signal an error, or may return 3 or 4 or
@code{nil}, or may behave in other ways.
@defun special-form-p object
This predicate tests whether its argument is a special form, and
returns @code{t} if so, @code{nil} otherwise.
@end defun
Here is a list, in alphabetical order, of all of the special forms in
Emacs Lisp with a reference to where each is described.
......@@ -55,6 +55,11 @@ expansion, which is @code{(setq x (1+ x))}. Once the macro definition
returns this expansion, Lisp proceeds to evaluate it, thus incrementing
@defun macrop object
This predicate tests whether its argument is a macro, and returns
@code{t} if so, @code{nil} otherwise.
@end defun
@node Expansion
@section Expansion of a Macro Call
@cindex expansion of macros
......@@ -1012,11 +1012,11 @@ platforms, and nobody seems to have noticed or cared.
PRESERVE-EXTENDED-ATTRIBUTES as it now handles both SELinux context
and ACL entries.
*** The function `file-ownership-preserved-p' now has an optional
argument GROUP which causes it check for file group too. This can be
used in place of the 9th element of `file-attributes'.
*** The function `set-visited-file-modtime' now accepts a 0 or -1
argument, with the same interpretation as the returned value of
......@@ -1042,6 +1042,7 @@ Its third arg now accepts values specifying exactly which face spec to
set (defface, custom, or user spec), and it directly sets the relevant
property using the supplied face spec.
*** New function `add-face-text-property', which can be used to
conveniently prepend/append new face properties.
......@@ -1051,6 +1052,7 @@ rather than inheriting from it (as do face specs set via Customize).
*** New face characteristic (supports :underline (:style wave))
specifies whether or not the terminal can display a wavy line.
*** New face spec attribute :distant-foreground
specifies foreground to use if background color is near the foreground
color that would otherwise have been used.
......@@ -1125,6 +1127,7 @@ These attributes are only meaningful for coding-systems of type
** `time-to-seconds' is not obsolete any more.
** New functions `special-form-p' and `macrop'.
** Docstrings can be made dynamic by adding a `dynamic-docstring-function'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment